Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001012/0.001012, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.001268/0.001268, allocations: 179.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 8 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003028/0.1234, allocations: 2.043 MB / 353.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.1256, allocations: 1.232 MB / 355.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1258, allocations: 11.94 kB / 355.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.1265, allocations: 199.3 kB / 355.3 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1268, allocations: 139.3 kB / 355.5 MB, free: 392 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006434/0.1275, allocations: 239.6 kB / 355.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.1279, allocations: 423.8 kB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.1283, allocations: 150.6 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1285, allocations: 143.3 kB / 356.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.1288, allocations: 175.1 kB / 356.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1288, allocations: 12 kB / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.129, allocations: 79.89 kB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.1291, allocations: 99.53 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.4e-05/0.1292, allocations: 97.45 kB / 356.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1296, allocations: 375.4 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1297, allocations: 0 / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1297, allocations: 3.984 kB / 357.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1297, allocations: 0 / 357.2 MB, free: 14.6 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.001274/0.131, allocations: 0.7696 MB / 358 MB, free: 13.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.131, allocations: 8.031 kB / 358 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1311, allocations: 59.3 kB / 358.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.1317, allocations: 385.9 kB / 358.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/0.1318, allocations: 54.7 kB / 358.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.1318, allocations: 40 kB / 358.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.1325, allocations: 428.7 kB / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1325, allocations: 0 / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.1326, allocations: 12 kB / 359 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.1326, allocations: 16.39 kB / 359 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.1331, allocations: 265.5 kB / 359.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1352, allocations: 1.69 MB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.1358, allocations: 303.9 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1361, allocations: 126.5 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.1361, allocations: 12.05 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004714/0.1366, allocations: 332.5 kB / 361.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.1366, allocations: 4 kB / 361.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001041/0.1377, allocations: 487.2 kB / 362.2 MB, free: 9.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.1378, allocations: 166.2 kB / 362.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.1384, allocations: 493.2 kB / 362.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.1385, allocations: 37.7 kB / 362.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1387, allocations: 232.5 kB / 363.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.1387, allocations: 83 kB / 363.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.1388, allocations: 8 kB / 363.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.139, allocations: 362.7 kB / 363.5 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.1392, allocations: 113.1 kB / 363.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.1396, allocations: 270.7 kB / 363.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.1398, allocations: 169.6 kB / 364.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.1399, allocations: 4 kB / 364.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008218/0.1407, allocations: 470.5 kB / 364.5 MB, free: 6.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.1407, allocations: 33.7 kB / 364.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1408, allocations: 4.078 kB / 364.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1408, allocations: 11.94 kB / 364.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1409, allocations: 47.84 kB / 364.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1409, allocations: 7.984 kB / 364.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1412, allocations: 67.91 kB / 364.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.1412, allocations: 20 kB / 364.7 MB, free: 6.648 MB / 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.0002647/0.1415, allocations: 252.7 kB / 365 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.1416, allocations: 51.5 kB / 365 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.1421, allocations: 273.4 kB / 365.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1421, allocations: 4 kB / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1421, allocations: 0 / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1421, allocations: 0 / 365.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1432, allocations: 0.7828 MB / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1432, allocations: 0 / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.1433, allocations: 15.92 kB / 366.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1433, allocations: 4 kB / 366.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/0.1434, allocations: 11.98 kB / 366.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1434, allocations: 7.953 kB / 366.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1434, allocations: 3.938 kB / 366.1 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007647/0.1441, allocations: 0.5095 MB / 366.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.089e-05/0.1442, allocations: 120.5 kB / 366.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.1444, allocations: 16 kB / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1446, allocations: 23.98 kB / 366.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1447, allocations: 51.83 kB / 366.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.1447, allocations: 19.98 kB / 366.8 MB, free: 4.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.1451, allocations: 319.1 kB / 367.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1451, allocations: 4 kB / 367.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.1456, allocations: 119.9 kB / 367.3 MB, free: 3.961 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.001105/0.1467, allocations: 460.7 kB / 367.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006847/0.1474, allocations: 397.4 kB / 368.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1474, allocations: 0.9375 kB / 368.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.1477, allocations: 243.2 kB / 368.3 MB, free: 3.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.1483, allocations: 73.52 kB / 368.4 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.1497, allocations: 0.9183 MB / 369.3 MB, free: 1.992 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.1503, allocations: 0.848 MB / 370.2 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.1504, allocations: 43.42 kB / 370.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1504, allocations: 0 / 370.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of Templates: time 0.25/0.4004, allocations: 6.247 MB / 376.5 MB, free: 22.86 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.BooleanNetwork1CalcHelperMain.o] Error 1