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.0009401/0.0009401, allocations: 93.92 kB / 17.96 MB, free: 5.645 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.001278/0.001279, allocations: 177.6 kB / 18.86 MB, free: 4.773 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.967/1.967, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005325/0.0005326, allocations: 12 kB / 282 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 47.59 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.00242/0.1435, allocations: 1.216 MB / 330.8 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1447, allocations: 259.2 kB / 331.1 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.145, allocations: 4 kB / 331.1 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.1452, allocations: 15.8 kB / 331.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1454, allocations: 15.92 kB / 331.1 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.1461, allocations: 95.89 kB / 331.2 MB, free: 2.164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.1466, allocations: 243.5 kB / 331.4 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.1471, allocations: 138.3 kB / 331.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.1473, allocations: 63.72 kB / 331.6 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1475, allocations: 79.59 kB / 331.7 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1475, allocations: 11.94 kB / 331.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.1476, allocations: 20 kB / 331.7 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.1477, allocations: 35.84 kB / 331.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1478, allocations: 109.2 kB / 331.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.1481, allocations: 151.7 kB / 332 MB, free: 1.316 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1481, allocations: 0 / 332 MB, free: 1.316 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1482, allocations: 4 kB / 332 MB, free: 1.312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1482, allocations: 0 / 332 MB, free: 1.312 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.0009421/0.1491, allocations: 446.8 kB / 332.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/0.1492, allocations: 8.031 kB / 332.5 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.1494, allocations: 24.66 kB / 332.5 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.1497, allocations: 228 kB / 332.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.1498, allocations: 28.81 kB / 332.8 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1499, allocations: 28.38 kB / 332.8 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.1505, allocations: 240 kB / 333 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1505, allocations: 192 / 333 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.1505, allocations: 11.94 kB / 333 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.1506, allocations: 8 kB / 333 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.151, allocations: 157.7 kB / 333.2 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.1525, allocations: 0.7051 MB / 333.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.153, allocations: 170.8 kB / 334.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1531, allocations: 84.83 kB / 334.1 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1532, allocations: 4 kB / 334.2 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/0.1534, allocations: 119.3 kB / 334.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.893e-06/0.1535, allocations: 3.938 kB / 334.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004714/0.1539, allocations: 210 kB / 334.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.154, allocations: 63.34 kB / 334.5 MB, free: 14.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1542, allocations: 153.8 kB / 334.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.1542, allocations: 33.7 kB / 334.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1543, allocations: 140.6 kB / 334.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.1544, allocations: 55.2 kB / 334.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1545, allocations: 49.69 kB / 335 MB, free: 14.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1546, allocations: 326.8 kB / 335.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1548, allocations: 64.62 kB / 335.3 MB, free: 13.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.155, allocations: 136.1 kB / 335.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.1553, allocations: 174.6 kB / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1553, allocations: 0 / 335.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004199/0.1557, allocations: 245.2 kB / 335.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.1557, allocations: 8 kB / 335.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1558, allocations: 224 / 335.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1558, allocations: 8 kB / 335.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.1559, allocations: 31.92 kB / 335.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1559, allocations: 4 kB / 335.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1561, allocations: 27.69 kB / 336 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.1561, allocations: 19.98 kB / 336 MB, free: 13.07 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.0001963/0.1563, allocations: 149.8 kB / 336.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.1564, allocations: 11.84 kB / 336.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.1568, allocations: 202.3 kB / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/0.1568, allocations: 4 kB / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1568, allocations: 0 / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1568, allocations: 0 / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.1577, allocations: 0.5763 MB / 336.9 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1577, allocations: 8 kB / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.1578, allocations: 15.98 kB / 336.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1578, allocations: 3.938 kB / 336.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1579, allocations: 4 kB / 337 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1579, allocations: 4 kB / 337 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1579, allocations: 3.938 kB / 337 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.1583, allocations: 275.2 kB / 337.2 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.1584, allocations: 92.86 kB / 337.3 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1584, allocations: 15.94 kB / 337.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.1585, allocations: 15.98 kB / 337.4 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.1586, allocations: 27.91 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1586, allocations: 4 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1587, allocations: 95.27 kB / 337.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1587, allocations: 0 / 337.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1591, allocations: 47.84 kB / 337.5 MB, free: 11.43 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.0002282/0.1593, allocations: 127.1 kB / 337.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.1598, allocations: 176 kB / 337.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1598, allocations: 0 / 337.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1599, allocations: 79.91 kB / 337.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1603, allocations: 16 kB / 337.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.1611, allocations: 422 kB / 338.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.1615, allocations: 0.7287 MB / 339.1 MB, free: 9.828 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1616, allocations: 27.42 kB / 339.1 MB, free: 9.805 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1616, allocations: 3.938 kB / 339.1 MB, free: 9.801 MB / 286.1 MB Notification: Performance of Templates: time 0.005883/0.1675, allocations: 2.305 MB / 341.4 MB, free: 7.496 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