Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 89.17 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002306/0.0002306, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1196, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003059/0.1227, allocations: 2.063 MB / 360.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.1251, allocations: 1.38 MB / 362.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1253, allocations: 11.94 kB / 362.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006644/0.126, allocations: 211.3 kB / 362.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.1263, allocations: 163.3 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.127, allocations: 247.3 kB / 362.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.1274, allocations: 427.7 kB / 363.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.1278, allocations: 162.6 kB / 363.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.128, allocations: 147.3 kB / 363.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1282, allocations: 171.1 kB / 363.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.1282, allocations: 12 kB / 363.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1284, allocations: 87.89 kB / 363.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.1286, allocations: 95.59 kB / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1287, allocations: 93.45 kB / 364 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.1291, allocations: 383.4 kB / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1291, allocations: 0 / 364.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1291, allocations: 3.938 kB / 364.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.1291, allocations: 4 kB / 364.4 MB, free: 8.461 MB / 302.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.001258/0.1304, allocations: 0.7657 MB / 365.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1304, allocations: 15.97 kB / 365.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.1306, allocations: 59.34 kB / 365.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.1311, allocations: 370.1 kB / 365.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.1312, allocations: 66.64 kB / 365.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.1312, allocations: 40 kB / 365.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006832/0.1319, allocations: 428.7 kB / 366.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1319, allocations: 3.938 kB / 366.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.132, allocations: 19.98 kB / 366.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.132, allocations: 12.44 kB / 366.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.1325, allocations: 257.5 kB / 366.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.1344, allocations: 1.697 MB / 368.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.1349, allocations: 307.8 kB / 368.4 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1351, allocations: 130.5 kB / 368.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.1352, allocations: 7.984 kB / 368.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.1356, allocations: 324.5 kB / 368.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.1357, allocations: 4 kB / 368.9 MB, free: 3.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.0008981/0.1366, allocations: 492 kB / 369.3 MB, free: 3.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1367, allocations: 166.2 kB / 369.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.1372, allocations: 0.4894 MB / 370 MB, free: 2.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.1373, allocations: 41.7 kB / 370 MB, free: 2.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.1374, allocations: 236.6 kB / 370.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.1375, allocations: 86.89 kB / 370.3 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.1375, allocations: 12 kB / 370.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1377, allocations: 354.8 kB / 370.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.1379, allocations: 121 kB / 370.8 MB, free: 1.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.1382, allocations: 266.7 kB / 371.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1385, allocations: 162.3 kB / 371.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1385, allocations: 0 / 371.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006943/0.1392, allocations: 478.2 kB / 371.7 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.1392, allocations: 41.69 kB / 371.8 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1393, allocations: 7.953 kB / 371.8 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1393, allocations: 4 kB / 371.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1394, allocations: 39.86 kB / 371.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1394, allocations: 16.55 kB / 371.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1397, allocations: 59.58 kB / 371.9 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.1397, allocations: 27.98 kB / 371.9 MB, free: 492 kB / 302.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.0002553/0.14, allocations: 252.5 kB / 372.2 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1401, allocations: 43.53 kB / 372.2 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2458/0.3859, allocations: 268.6 kB / 372.5 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.386, allocations: 9.078 kB / 372.5 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.386, allocations: 1.156 kB / 372.5 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.386, allocations: 3.703 kB / 372.5 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3878, allocations: 0.7798 MB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3878, allocations: 0.5625 kB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.3879, allocations: 16.75 kB / 373.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/0.3879, allocations: 6.219 kB / 373.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.3879, allocations: 12.02 kB / 373.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3879, allocations: 2.516 kB / 373.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.388, allocations: 5 kB / 373.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.3889, allocations: 0.5116 MB / 373.8 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.389, allocations: 127 kB / 373.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.389, allocations: 16.28 kB / 373.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3893, allocations: 27.12 kB / 374 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.3894, allocations: 49.22 kB / 374 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.3895, allocations: 18.36 kB / 374 MB, free: 19.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.39, allocations: 326.3 kB / 374.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.39, allocations: 0 / 374.4 MB, free: 19.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005812/0.3906, allocations: 121.1 kB / 374.5 MB, free: 19.6 MB / 302.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.001161/0.3918, allocations: 463.4 kB / 374.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.3926, allocations: 398 kB / 375.3 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3926, allocations: 0 / 375.3 MB, free: 19.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.3931, allocations: 246.5 kB / 375.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.3937, allocations: 81.98 kB / 375.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3952, allocations: 0.9221 MB / 376.6 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3956, allocations: 0.8422 MB / 377.4 MB, free: 18.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3957, allocations: 41.44 kB / 377.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3957, allocations: 0 / 377.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01272/0.4084, allocations: 6.322 MB / 383.8 MB, free: 16.75 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o] Error 1