Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.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.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001904/0.001904, allocations: 194 kB / 18.72 MB, free: 4.762 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.939/1.939, 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.001247/0.001248, allocations: 43.94 kB / 280.6 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 46.64 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.004639/0.1582, allocations: 1.563 MB / 328.8 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1594, allocations: 263.2 kB / 329.1 MB, free: 3.078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.1596, allocations: 4 kB / 329.1 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.1599, allocations: 15.81 kB / 329.1 MB, free: 3.059 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1601, allocations: 7.922 kB / 329.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.1608, allocations: 103.9 kB / 329.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000528/0.1613, allocations: 243.5 kB / 329.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.1618, allocations: 154.4 kB / 329.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1621, allocations: 83.69 kB / 329.7 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1623, allocations: 91.59 kB / 329.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.1623, allocations: 16 kB / 329.8 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1625, allocations: 19.98 kB / 329.8 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.1626, allocations: 51.78 kB / 329.8 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1627, allocations: 91.52 kB / 329.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002973/0.163, allocations: 151.7 kB / 330.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1631, allocations: 0 / 330.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1631, allocations: 0 / 330.1 MB, free: 2.059 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1631, allocations: 0 / 330.1 MB, free: 2.059 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001216/0.1643, allocations: 494.7 kB / 330.6 MB, free: 1.523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.862e-05/0.1644, allocations: 12.03 kB / 330.6 MB, free: 1.512 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1646, allocations: 16.75 kB / 330.6 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.165, allocations: 228 kB / 330.8 MB, free: 1.234 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.1651, allocations: 20.94 kB / 330.8 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1652, allocations: 24.38 kB / 330.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/0.1658, allocations: 248 kB / 331.1 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1658, allocations: 4.188 kB / 331.1 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.1658, allocations: 11.94 kB / 331.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.1659, allocations: 8 kB / 331.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.1663, allocations: 153.7 kB / 331.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.168, allocations: 0.713 MB / 332 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.1685, allocations: 162.8 kB / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1686, allocations: 84.77 kB / 332.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1687, allocations: 8 kB / 332.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.1691, allocations: 119.3 kB / 332.3 MB, free: 15.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 2.635e-06/0.1691, allocations: 3.938 kB / 332.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.00062/0.1698, allocations: 221.3 kB / 332.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.1699, allocations: 55.41 kB / 332.6 MB, free: 15.3 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1701, allocations: 137.9 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.1701, allocations: 45.62 kB / 332.8 MB, free: 15.11 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1703, allocations: 132.6 kB / 332.9 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.1704, allocations: 63.19 kB / 333 MB, free: 14.92 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1705, allocations: 74 kB / 333.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002893/0.1708, allocations: 326.8 kB / 333.4 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.171, allocations: 64.62 kB / 333.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.1712, allocations: 128.1 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.1715, allocations: 178.6 kB / 333.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1716, allocations: 0 / 333.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005306/0.1721, allocations: 237.2 kB / 334 MB, free: 13.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.1721, allocations: 8 kB / 334 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1722, allocations: 3.938 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.1722, allocations: 4 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1724, allocations: 39.84 kB / 334 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.1724, allocations: 4.219 kB / 334 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.1725, allocations: 27.78 kB / 334.1 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.1726, allocations: 12 kB / 334.1 MB, free: 13.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,transition2.t_start,$PRE.transition2.t_start,transition2.fire,transition2.enableFire,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,step.active,transition1.t_start,$PRE.transition1.t_start,transition1.fire,transition1.enableFire,initialStep.oldActive,$PRE.initialStep.oldActive,initialStep.newActive,$PRE.initialStep.newActive,initialStep.localActive,$PRE.initialStep.localActive,initialStep.active,$whenCondition1,$whenCondition2,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002376/0.1728, allocations: 153.8 kB / 334.2 MB, free: 13.61 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.1729, allocations: 19.75 kB / 334.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.1734, allocations: 202.3 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1734, allocations: 4 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1734, allocations: 0 / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1734, allocations: 4 kB / 334.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1746, allocations: 0.5685 MB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1746, allocations: 0 / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/0.1747, allocations: 19.98 kB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.1747, allocations: 4 kB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1748, allocations: 4 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1748, allocations: 0 / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1748, allocations: 3.938 kB / 335 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.1754, allocations: 283.2 kB / 335.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1755, allocations: 88.95 kB / 335.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.1756, allocations: 7.938 kB / 335.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.1757, allocations: 11.98 kB / 335.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1758, allocations: 27.91 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1758, allocations: 4 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.176, allocations: 95.27 kB / 335.6 MB, free: 12.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.176, allocations: 4 kB / 335.6 MB, free: 12.17 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004358/0.1764, allocations: 47.84 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (transition2.enableFire,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.active,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.active,step.newActive,step.oldActive,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002698/0.1767, allocations: 111.1 kB / 335.7 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.1772, allocations: 184 kB / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1772, allocations: 0 / 335.9 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.1774, allocations: 83.91 kB / 336 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1777, allocations: 20.44 kB / 336 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1789, allocations: 416.1 kB / 336.4 MB, free: 11.28 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/0.1799, allocations: 0.7287 MB / 337.1 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.18, allocations: 27.42 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.18, allocations: 3.938 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of Templates: time 0.006944/0.1869, allocations: 2.336 MB / 339.5 MB, free: 8.164 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.makefile make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample.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.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExampleCalcHelperMain.o] Error 1