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.0007691/0.0007736, allocations: 91.19 kB / 17.58 MB, free: 5.797 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.0007917/0.0007917, allocations: 185.7 kB / 18.48 MB, free: 5.25 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.724/1.724, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004577/0.0004578, allocations: 19.94 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 47.57 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003079/0.1263, allocations: 2.036 MB / 331 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1284, allocations: 1.178 MB / 332.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1286, allocations: 7.938 kB / 332.2 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.1292, allocations: 203.3 kB / 332.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1296, allocations: 131.5 kB / 332.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.1302, allocations: 219.6 kB / 332.7 MB, free: 312 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004742/0.1307, allocations: 419.9 kB / 333.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.131, allocations: 154.6 kB / 333.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1312, allocations: 147.3 kB / 333.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.1315, allocations: 167.2 kB / 333.6 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.1316, allocations: 12 kB / 333.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.1318, allocations: 83.88 kB / 333.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.132, allocations: 91.66 kB / 333.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1321, allocations: 105.4 kB / 333.9 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.1325, allocations: 379.4 kB / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1325, allocations: 0 / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1326, allocations: 0 / 334.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1326, allocations: 0 / 334.3 MB, free: 14.76 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.001458/0.134, allocations: 0.7771 MB / 335 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.1341, allocations: 8.031 kB / 335 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1342, allocations: 55.34 kB / 335.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.1348, allocations: 382 kB / 335.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.135, allocations: 54.7 kB / 335.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.135, allocations: 43.98 kB / 335.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/0.1359, allocations: 428.7 kB / 336 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1359, allocations: 0 / 336 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.136, allocations: 12 kB / 336 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.136, allocations: 20.44 kB / 336 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.1365, allocations: 273.4 kB / 336.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1386, allocations: 1.686 MB / 338 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1392, allocations: 292 kB / 338.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.1394, allocations: 134.5 kB / 338.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.1395, allocations: 4 kB / 338.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/0.14, allocations: 348.1 kB / 338.7 MB, free: 9.973 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.14, allocations: 8 kB / 338.7 MB, free: 9.965 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.000992/0.141, allocations: 473.1 kB / 339.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.1412, allocations: 170.1 kB / 339.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.1418, allocations: 489.2 kB / 339.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.1418, allocations: 41.69 kB / 339.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.142, allocations: 228.6 kB / 340.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.1421, allocations: 86.98 kB / 340.2 MB, free: 8.445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.1421, allocations: 12 kB / 340.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1423, allocations: 362.7 kB / 340.6 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.1425, allocations: 113.1 kB / 340.7 MB, free: 7.961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.143, allocations: 266.7 kB / 340.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1432, allocations: 161.6 kB / 341.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-06/0.1433, allocations: 4 kB / 341.1 MB, free: 7.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007407/0.144, allocations: 478.2 kB / 341.6 MB, free: 6.992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1441, allocations: 41.62 kB / 341.6 MB, free: 6.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1441, allocations: 4.469 kB / 341.6 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1442, allocations: 12 kB / 341.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.1443, allocations: 39.92 kB / 341.7 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1443, allocations: 11.92 kB / 341.7 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.1446, allocations: 59.58 kB / 341.7 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.1446, allocations: 20 kB / 341.7 MB, free: 6.801 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,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.1449, allocations: 252.6 kB / 342 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.145, allocations: 55.41 kB / 342 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004801/0.1455, allocations: 265.5 kB / 342.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1455, allocations: 4 kB / 342.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1455, allocations: 0 / 342.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1455, allocations: 7.984 kB / 342.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1466, allocations: 0.7828 MB / 343.1 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1466, allocations: 0 / 343.1 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.1467, allocations: 11.94 kB / 343.1 MB, free: 5.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1467, allocations: 4 kB / 343.1 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.1467, allocations: 11.98 kB / 343.1 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1468, allocations: 8 kB / 343.1 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1468, allocations: 0 / 343.1 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.1475, allocations: 0.5099 MB / 343.6 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.1476, allocations: 128.4 kB / 343.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.1477, allocations: 16 kB / 343.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.1479, allocations: 27.97 kB / 343.8 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.148, allocations: 43.92 kB / 343.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.1481, allocations: 19.98 kB / 343.9 MB, free: 4.535 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.1484, allocations: 315.1 kB / 344.2 MB, free: 4.227 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1484, allocations: 4 kB / 344.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1489, allocations: 120 kB / 344.3 MB, free: 4.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.15, allocations: 464.8 kB / 344.8 MB, free: 3.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007114/0.1507, allocations: 399.7 kB / 345.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1507, allocations: 0 / 345.2 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.1511, allocations: 250.9 kB / 345.4 MB, free: 3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1516, allocations: 77.45 kB / 345.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.153, allocations: 0.9113 MB / 346.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.1535, allocations: 0.8435 MB / 347.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1536, allocations: 47.36 kB / 347.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1536, allocations: 0 / 347.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of Templates: time 0.01005/0.1637, allocations: 6.259 MB / 353.5 MB, free: 10.79 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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