Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.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) 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(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 105.4 kB / 17.8 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 197.9 kB / 18.73 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.1 MB / 224.6 MB, free: 12.47 MB / 190.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.001325/0.001325, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 46.63 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004577/0.1397, allocations: 2.476 MB / 329.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1422, allocations: 1.244 MB / 331 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.1424, allocations: 7.938 kB / 331 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.1432, allocations: 211.3 kB / 331.2 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1435, allocations: 139.5 kB / 331.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.1441, allocations: 243.6 kB / 331.5 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1445, allocations: 455.7 kB / 332 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.1449, allocations: 205.8 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.1451, allocations: 171.2 kB / 332.4 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1454, allocations: 203.1 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.1454, allocations: 20 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.1456, allocations: 103.8 kB / 332.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1458, allocations: 107.6 kB / 332.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.146, allocations: 210.6 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.1465, allocations: 387.5 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1465, allocations: 4 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1465, allocations: 0 / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1465, allocations: 3.938 kB / 333.4 MB, free: 14.72 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001488/0.148, allocations: 0.8474 MB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1481, allocations: 8.031 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1482, allocations: 60.28 kB / 334.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.1487, allocations: 383.1 kB / 334.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.1488, allocations: 63.27 kB / 334.7 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.1489, allocations: 43.92 kB / 334.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1495, allocations: 436.6 kB / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1496, allocations: 4 kB / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1496, allocations: 16 kB / 335.2 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.1496, allocations: 12.44 kB / 335.2 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.1501, allocations: 261.5 kB / 335.5 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.1521, allocations: 1.682 MB / 337.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.1527, allocations: 296 kB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.1529, allocations: 134.5 kB / 337.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.153, allocations: 11.94 kB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004542/0.1535, allocations: 323.8 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.1535, allocations: 0 / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009598/0.1544, allocations: 498.5 kB / 338.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.1546, allocations: 170.2 kB / 338.6 MB, free: 9.172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.1551, allocations: 489.2 kB / 339 MB, free: 8.688 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.1552, allocations: 37.7 kB / 339.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1554, allocations: 236.5 kB / 339.3 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.1554, allocations: 82.98 kB / 339.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.1556, allocations: 114.2 kB / 339.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1558, allocations: 366.7 kB / 339.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.156, allocations: 113.1 kB / 340 MB, free: 7.734 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.1564, allocations: 270.7 kB / 340.2 MB, free: 7.406 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005451/0.1569, allocations: 430.7 kB / 340.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1569, allocations: 0 / 340.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000805/0.1578, allocations: 478.2 kB / 341.1 MB, free: 6.438 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.1578, allocations: 37.7 kB / 341.2 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1578, allocations: 4 kB / 341.2 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1579, allocations: 8 kB / 341.2 MB, free: 6.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.158, allocations: 39.91 kB / 341.2 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.1581, allocations: 7.938 kB / 341.2 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.1583, allocations: 56.09 kB / 341.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.1584, allocations: 27.98 kB / 341.3 MB, free: 6.254 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition5,$whenCondition4,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay.t_next,onDelay.delaySignal,onDelay.y,onDelay.u,$whenCondition3,$whenCondition2,sampleTriggerReset.y,sampleTriggerSet.y,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,triggeredAdd.local_set,triggeredAdd.local_reset,set1.expr[2],set1.expr[1],changing.y,changing.u,$PRE.changing.u,falling.not_u,$PRE.falling.not_u,set1.firstActiveIndex,set1.y,$PRE.set1.y,set1.u[2],set1.u[1],rising.u,$PRE.rising.u,nor1.y,or2.u[1],nand1.u[1],xor1.u[1],or1.u[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,and1.u[2],and1.u[1],$whenCondition6,showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0003528/0.1587, allocations: 252.5 kB / 341.5 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.1588, allocations: 47.42 kB / 341.6 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.1594, allocations: 269.4 kB / 341.9 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1594, allocations: 4 kB / 341.9 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.1594, allocations: 4 kB / 341.9 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1595, allocations: 0 / 341.9 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1609, allocations: 0.7789 MB / 342.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.161, allocations: 0 / 342.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.306e-05/0.161, allocations: 27.92 kB / 342.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1611, allocations: 0 / 342.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.1611, allocations: 19.92 kB / 342.7 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1611, allocations: 0 / 342.7 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1611, allocations: 0 / 342.7 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1622, allocations: 0.5095 MB / 343.2 MB, free: 4.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.1623, allocations: 112.6 kB / 343.3 MB, free: 4.109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.1624, allocations: 23.92 kB / 343.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.1626, allocations: 19.98 kB / 343.4 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.1627, allocations: 43.88 kB / 343.4 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.1628, allocations: 12 kB / 343.4 MB, free: 4.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.1632, allocations: 327.1 kB / 343.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 343.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.1637, allocations: 120 kB / 343.8 MB, free: 3.578 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.001188/0.1649, allocations: 457.2 kB / 344.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.1656, allocations: 395.9 kB / 344.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1656, allocations: 3.938 kB / 344.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.166, allocations: 251 kB / 344.9 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.1666, allocations: 82.25 kB / 345 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1683, allocations: 0.9679 MB / 346 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.1688, allocations: 0.8358 MB / 346.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1689, allocations: 47.42 kB / 346.9 MB, free: 496 kB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1689, allocations: 0 / 346.9 MB, free: 496 kB / 286.1 MB Notification: Performance of Templates: time 0.01089/0.1798, allocations: 6.309 MB / 353.2 MB, free: 10.16 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o] Error 1