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.001147/0.001147, allocations: 94.36 kB / 17.95 MB, free: 5.633 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.00145/0.00145, allocations: 173.7 kB / 18.86 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 1.975/1.975, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004836/0.0004836, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 47.59 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003451/0.1312, allocations: 2.094 MB / 331.7 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1338, allocations: 1.229 MB / 332.9 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.134, allocations: 7.938 kB / 332.9 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.1348, allocations: 211.3 kB / 333.1 MB, free: 212 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1352, allocations: 135.5 kB / 333.3 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.136, allocations: 251.5 kB / 333.5 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.1366, allocations: 451.8 kB / 334 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.1371, allocations: 193.8 kB / 334.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1373, allocations: 147.2 kB / 334.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.1375, allocations: 167.1 kB / 334.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1375, allocations: 16 kB / 334.5 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1378, allocations: 91.89 kB / 334.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1379, allocations: 95.61 kB / 334.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.1381, allocations: 212.3 kB / 334.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1386, allocations: 375.4 kB / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1386, allocations: 0 / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1386, allocations: 0 / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1386, allocations: 0 / 335.2 MB, free: 14.1 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.001398/0.14, allocations: 0.7773 MB / 336 MB, free: 13.26 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.1401, allocations: 8.031 kB / 336 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1402, allocations: 56.28 kB / 336.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.1411, allocations: 391.1 kB / 336.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/0.1412, allocations: 59.25 kB / 336.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.1412, allocations: 47.94 kB / 336.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.1422, allocations: 424.7 kB / 337 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1422, allocations: 4 kB / 337 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.1423, allocations: 16 kB / 337 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.1423, allocations: 16.42 kB / 337 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.1428, allocations: 269.4 kB / 337.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.1453, allocations: 1.69 MB / 339 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007981/0.1461, allocations: 296 kB / 339.2 MB, free: 9.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.1464, allocations: 130.4 kB / 339.4 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1466, allocations: 20.05 kB / 339.4 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.1472, allocations: 335.6 kB / 339.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.195e-06/0.1473, allocations: 0 / 339.7 MB, free: 9.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.00108/0.1483, allocations: 486.5 kB / 340.2 MB, free: 8.809 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.1486, allocations: 166.1 kB / 340.4 MB, free: 8.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.1491, allocations: 489.3 kB / 340.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.1492, allocations: 45.69 kB / 340.9 MB, free: 8.074 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1494, allocations: 232.6 kB / 341.1 MB, free: 7.844 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.1495, allocations: 78.98 kB / 341.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1496, allocations: 81.67 kB / 341.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1498, allocations: 358.7 kB / 341.6 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.15, allocations: 117.1 kB / 341.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.1506, allocations: 270.7 kB / 342 MB, free: 6.879 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/0.1512, allocations: 426.4 kB / 342.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1512, allocations: 0 / 342.4 MB, free: 6.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007809/0.152, allocations: 482.6 kB / 342.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/0.1521, allocations: 37.8 kB / 342.9 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1521, allocations: 7.938 kB / 342.9 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1521, allocations: 11.94 kB / 342.9 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1523, allocations: 39.91 kB / 343 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.1523, allocations: 11.94 kB / 343 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1526, allocations: 51.67 kB / 343 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.1526, allocations: 27.98 kB / 343.1 MB, free: 5.719 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.0004436/0.1531, allocations: 252.8 kB / 343.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.1532, allocations: 47.44 kB / 343.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.1538, allocations: 269.2 kB / 343.6 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1538, allocations: 8 kB / 343.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1538, allocations: 0 / 343.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1538, allocations: 0 / 343.6 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.1551, allocations: 0.7789 MB / 344.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1551, allocations: 0 / 344.4 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.1552, allocations: 23.92 kB / 344.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1552, allocations: 4 kB / 344.4 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.1552, allocations: 15.94 kB / 344.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1553, allocations: 0 / 344.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1553, allocations: 0 / 344.5 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.156, allocations: 0.518 MB / 345 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1562, allocations: 116.6 kB / 345.1 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.1563, allocations: 23.92 kB / 345.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.1565, allocations: 27.98 kB / 345.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.1566, allocations: 35.94 kB / 345.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.1566, allocations: 19.94 kB / 345.2 MB, free: 3.457 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004524/0.1571, allocations: 327.1 kB / 345.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1571, allocations: 4 kB / 345.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.1576, allocations: 116 kB / 345.6 MB, free: 3.023 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.001124/0.1587, allocations: 451.4 kB / 346.1 MB, free: 2.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.1596, allocations: 407.2 kB / 346.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1596, allocations: 0 / 346.5 MB, free: 2.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.16, allocations: 250.9 kB / 346.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.1606, allocations: 82.45 kB / 346.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1623, allocations: 0.9689 MB / 347.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.163, allocations: 0.8475 MB / 348.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.1632, allocations: 43.42 kB / 348.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1632, allocations: 7.938 kB / 348.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01123/0.1745, allocations: 6.244 MB / 354.9 MB, free: 9.66 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