Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 181.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08166/0.08166, allocations: 10.76 MB / 282.1 MB, free: 10.68 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 12.22 kB / 342.9 MB, free: 23.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 50.01 MB / 392.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.002548/0.1228, allocations: 1.656 MB / 394.6 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1247, allocations: 1.081 MB / 395.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1249, allocations: 7.938 kB / 395.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.1258, allocations: 307.4 kB / 395.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1262, allocations: 191.5 kB / 396.1 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.1268, allocations: 243.6 kB / 396.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.1272, allocations: 335.1 kB / 396.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1273, allocations: 48.38 kB / 396.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1275, allocations: 123.5 kB / 396.9 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1277, allocations: 131.4 kB / 397 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1277, allocations: 8 kB / 397 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1279, allocations: 79.88 kB / 397.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.128, allocations: 79.73 kB / 397.2 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1281, allocations: 136.9 kB / 397.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.1285, allocations: 271.6 kB / 397.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1285, allocations: 7.938 kB / 397.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1285, allocations: 0 / 397.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1285, allocations: 0 / 397.6 MB, free: 0.75 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001036/0.1295, allocations: 0.6256 MB / 398.2 MB, free: 68 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1296, allocations: 8.031 kB / 398.2 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.1297, allocations: 32.56 kB / 398.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.1301, allocations: 334.3 kB / 398.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.1302, allocations: 12.38 kB / 398.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1302, allocations: 24.09 kB / 398.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1305, allocations: 135 kB / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1305, allocations: 0 / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1306, allocations: 0 / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1306, allocations: 4 kB / 398.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1307, allocations: 63.89 kB / 398.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.1314, allocations: 476.4 kB / 399.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1317, allocations: 130.8 kB / 399.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1319, allocations: 48.77 kB / 399.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.1319, allocations: 8 kB / 399.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.1322, allocations: 119.3 kB / 399.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1322, allocations: 0 / 399.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005412/0.1327, allocations: 241.1 kB / 399.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1328, allocations: 106.8 kB / 399.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.1335, allocations: 473.5 kB / 400.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1335, allocations: 33.7 kB / 400.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1337, allocations: 164.3 kB / 400.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.156e-05/0.1338, allocations: 43.53 kB / 400.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1338, allocations: 25.7 kB / 400.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.134, allocations: 342.8 kB / 400.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1341, allocations: 47.97 kB / 401 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1343, allocations: 125.4 kB / 401.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.1346, allocations: 133.9 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1346, allocations: 4 kB / 401.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003521/0.135, allocations: 189.2 kB / 401.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.135, allocations: 11.94 kB / 401.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.135, allocations: 0 / 401.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.135, allocations: 7.938 kB / 401.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.1351, allocations: 23.98 kB / 401.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1352, allocations: 0 / 401.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.1353, allocations: 27.83 kB / 401.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1353, allocations: 4 kB / 401.5 MB, free: 12.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (flipFlopSR.y1,$PRE.flipFlopSR.y1,flipFlopSR.y2,$PRE.flipFlopSR.y2,$PRE.resetSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.setSIGNAL.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.resetSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEventScaled,$PRE.setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.1355, allocations: 184.1 kB / 401.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1356, allocations: 31.56 kB / 401.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.445e-05/0.1356, allocations: 34.98 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1357, allocations: 0 / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1357, allocations: 128 / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1357, allocations: 11.92 kB / 401.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.136, allocations: 301.4 kB / 402.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.136, allocations: 0 / 402.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.1361, allocations: 11.94 kB / 402.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1361, allocations: 7.938 kB / 402.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1361, allocations: 7.938 kB / 402.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1361, allocations: 3.984 kB / 402.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1361, allocations: 0 / 402.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.1365, allocations: 212.6 kB / 402.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.1366, allocations: 128.6 kB / 402.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.1366, allocations: 4 kB / 402.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.1367, allocations: 15.98 kB / 402.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1368, allocations: 11.98 kB / 402.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1368, allocations: 4 kB / 402.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.1372, allocations: 347.1 kB / 402.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1372, allocations: 4 kB / 402.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.1375, allocations: 51.98 kB / 402.9 MB, free: 11.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,flipFlopSR.y1,flipFlopSR.y2,setSIGNAL.y,setSIGNAL.combiTimeTable.nextTimeEvent,setSIGNAL.combiTimeTable.nextTimeEventScaled,resetSIGNAL.y,resetSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (flipFlopSR.y1,resetSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEventScaled,setSIGNAL.combiTimeTable.nextTimeEvent,resetSIGNAL.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/0.1385, allocations: 443.2 kB / 403.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.1389, allocations: 123.8 kB / 403.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1389, allocations: 0 / 403.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.139, allocations: 71.83 kB / 403.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1394, allocations: 62.05 kB / 403.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.1403, allocations: 0.6108 MB / 404.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1407, allocations: 0.7794 MB / 404.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.1408, allocations: 27.44 kB / 405 MB, free: 8.98 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1408, allocations: 0 / 405 MB, free: 8.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006774/0.1476, allocations: 4.361 MB / 409.3 MB, free: 4.609 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlopCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlopCalcHelperMain.o] Error 1