Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 105.5 kB / 17.81 MB, free: 5.672 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.001476/0.001476, allocations: 194 kB / 18.72 MB, free: 4.758 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.776/1.776, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001243/0.001243, allocations: 47.92 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1544, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.004729/0.1592, allocations: 1.864 MB / 329.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.161, allocations: 0.6553 MB / 329.8 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.1613, allocations: 0 / 329.8 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.1616, allocations: 27.78 kB / 329.8 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1618, allocations: 19.8 kB / 329.8 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.1623, allocations: 87.8 kB / 329.9 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1628, allocations: 155.5 kB / 330 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.1631, allocations: 66.64 kB / 330.1 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.1634, allocations: 71.64 kB / 330.2 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.1638, allocations: 87.59 kB / 330.3 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.1638, allocations: 8 kB / 330.3 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.164, allocations: 12 kB / 330.3 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1641, allocations: 39.84 kB / 330.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1642, allocations: 83.41 kB / 330.4 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1645, allocations: 124 kB / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1646, allocations: 0 / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1646, allocations: 0 / 330.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1646, allocations: 11.94 kB / 330.5 MB, free: 1.578 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001721/0.1663, allocations: 0.4986 MB / 331 MB, free: 1.031 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.43e-05/0.1664, allocations: 8.031 kB / 331 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1666, allocations: 28.64 kB / 331.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.1671, allocations: 243.8 kB / 331.3 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1671, allocations: 8.375 kB / 331.3 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.1672, allocations: 16.38 kB / 331.3 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1678, allocations: 221.4 kB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1678, allocations: 3.938 kB / 331.6 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1678, allocations: 7.984 kB / 331.6 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.1679, allocations: 8 kB / 331.6 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.1683, allocations: 139.8 kB / 331.7 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.1698, allocations: 0.7855 MB / 332.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.1705, allocations: 194.6 kB / 332.7 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1707, allocations: 64.83 kB / 332.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.1707, allocations: 0 / 332.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.171, allocations: 152.8 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.1711, allocations: 4 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006618/0.1717, allocations: 245.3 kB / 333.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.1718, allocations: 81.11 kB / 333.2 MB, free: 14.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.1721, allocations: 218.7 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1721, allocations: 33.7 kB / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1722, allocations: 132.2 kB / 333.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.1723, allocations: 43.53 kB / 333.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1724, allocations: 61.69 kB / 333.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1726, allocations: 330.8 kB / 334 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1727, allocations: 63.95 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.173, allocations: 148.4 kB / 334.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.1734, allocations: 208.4 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1734, allocations: 0 / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005453/0.174, allocations: 249.7 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.174, allocations: 4 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.174, allocations: 4 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.1741, allocations: 4 kB / 334.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.1743, allocations: 39.86 kB / 334.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1743, allocations: 7.938 kB / 334.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1745, allocations: 31.81 kB / 334.8 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1745, allocations: 15.94 kB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001934/0.1747, allocations: 144.1 kB / 334.9 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1747, allocations: 19.75 kB / 334.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.175, allocations: 131.3 kB / 335.1 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1751, allocations: 8 kB / 335.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1751, allocations: 0 / 335.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1751, allocations: 0 / 335.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.1758, allocations: 494.1 kB / 335.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1758, allocations: 0 / 335.6 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.176, allocations: 19.98 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.176, allocations: 0 / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.176, allocations: 4 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.176, allocations: 7.938 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.176, allocations: 0 / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.1765, allocations: 284.1 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/0.1766, allocations: 100.8 kB / 336 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.1766, allocations: 4 kB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1768, allocations: 19.92 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1769, allocations: 19.97 kB / 336 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.177, allocations: 11.97 kB / 336 MB, free: 11.65 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1771, allocations: 144.6 kB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1771, allocations: 4 kB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1775, allocations: 36 kB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002345/0.1777, allocations: 119.1 kB / 336.3 MB, free: 11.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.1782, allocations: 168 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1782, allocations: 0.5 kB / 336.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1784, allocations: 83.83 kB / 336.6 MB, free: 11.1 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1789, allocations: 29.2 kB / 336.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.1797, allocations: 437.1 kB / 337 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1802, allocations: 0.7362 MB / 337.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.1803, allocations: 19.44 kB / 337.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1803, allocations: 0 / 337.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of Templates: time 0.006165/0.1865, allocations: 2.43 MB / 340.2 MB, free: 7.402 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.IntegerNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.o] Error 1