Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.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_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 94.53 kB / 17.95 MB, free: 5.746 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.001251/0.001251, allocations: 173.1 kB / 18.85 MB, free: 4.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, 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.0005735/0.0005736, allocations: 12 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1463, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002907/0.1493, allocations: 1.406 MB / 331 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1504, allocations: 275.1 kB / 331.3 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.1506, allocations: 4 kB / 331.3 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1508, allocations: 19.8 kB / 331.3 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.1509, allocations: 7.938 kB / 331.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.1515, allocations: 103.9 kB / 331.4 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.1521, allocations: 255.5 kB / 331.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004963/0.1526, allocations: 155.3 kB / 331.8 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.1528, allocations: 71.7 kB / 331.9 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1529, allocations: 79.55 kB / 332 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.153, allocations: 12 kB / 332 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1531, allocations: 20 kB / 332 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.1532, allocations: 35.84 kB / 332 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1533, allocations: 117.2 kB / 332.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.1536, allocations: 167.9 kB / 332.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1536, allocations: 0 / 332.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1536, allocations: 0 / 332.3 MB, free: 1.039 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1536, allocations: 0 / 332.3 MB, free: 1.039 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008355/0.1545, allocations: 450.1 kB / 332.7 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.1545, allocations: 8.031 kB / 332.7 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1547, allocations: 20.75 kB / 332.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.155, allocations: 232 kB / 333 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.155, allocations: 20.94 kB / 333 MB, free: 244 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.1551, allocations: 28.38 kB / 333 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005765/0.1557, allocations: 278.5 kB / 333.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1557, allocations: 3.938 kB / 333.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1557, allocations: 12 kB / 333.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1558, allocations: 4 kB / 333.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1561, allocations: 169.6 kB / 333.5 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.1576, allocations: 0.9711 MB / 334.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.1579, allocations: 150.8 kB / 334.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1581, allocations: 80.7 kB / 334.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1581, allocations: 8 kB / 334.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.1584, allocations: 107.3 kB / 334.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 2.174e-06/0.1584, allocations: 3.938 kB / 334.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0004756/0.1589, allocations: 213.9 kB / 335 MB, free: 14.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.1589, allocations: 63.34 kB / 335.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1591, allocations: 157.5 kB / 335.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.1592, allocations: 41.69 kB / 335.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1593, allocations: 144.5 kB / 335.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.1594, allocations: 55.27 kB / 335.5 MB, free: 13.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.1595, allocations: 49.69 kB / 335.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1597, allocations: 330.8 kB / 335.8 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1598, allocations: 68.62 kB / 335.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.16, allocations: 141.8 kB / 336 MB, free: 13 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1602, allocations: 188.3 kB / 336.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1603, allocations: 4 kB / 336.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004368/0.1607, allocations: 253.2 kB / 336.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1607, allocations: 4 kB / 336.5 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1608, allocations: 4 kB / 336.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1608, allocations: 4 kB / 336.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1609, allocations: 39.91 kB / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.161, allocations: 4.281 kB / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1611, allocations: 35.69 kB / 336.6 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1611, allocations: 11.98 kB / 336.6 MB, free: 12.43 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: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,stateGraphRoot.activeSteps,timer.entryTime,$PRE.timer.entryTime,transition2.enableFire,transition2.condition,step.active,step.oldActive,$PRE.step.oldActive,step.newActive,$PRE.step.newActive,step.localActive,$PRE.step.localActive,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,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.000178/0.1613, allocations: 164.3 kB / 336.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.1613, allocations: 7.906 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.1617, allocations: 194.7 kB / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1617, allocations: 0 / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1617, allocations: 4 kB / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1618, allocations: 4 kB / 336.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.1626, allocations: 0.5948 MB / 337.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1626, allocations: 0 / 337.5 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.1627, allocations: 23.86 kB / 337.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1627, allocations: 0 / 337.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1627, allocations: 8 kB / 337.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1627, allocations: 0 / 337.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1627, allocations: 4 kB / 337.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1631, allocations: 275.2 kB / 337.8 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.1631, allocations: 96.8 kB / 337.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1632, allocations: 7.938 kB / 338 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.1633, allocations: 11.98 kB / 338 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.1634, allocations: 19.97 kB / 338 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1634, allocations: 8 kB / 338 MB, free: 10.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.1635, allocations: 99.27 kB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1635, allocations: 0 / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.1638, allocations: 51.84 kB / 338.1 MB, free: 10.76 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 (step.active,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.active,initialStep.newActive,initialStep.oldActive,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.condition,transition2.enableFire,timer.entryTime,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 (25): * Single equations (assignments): 21 * 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.0001891/0.164, allocations: 111.1 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.1644, allocations: 191.7 kB / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1645, allocations: 0.5625 kB / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1646, allocations: 83.84 kB / 338.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.1649, allocations: 23.94 kB / 338.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000892/0.1658, allocations: 425.5 kB / 339 MB, free: 9.902 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.1664, allocations: 0.7404 MB / 339.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.684e-05/0.1665, allocations: 23.44 kB / 339.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1665, allocations: 0 / 339.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Templates: time 0.006912/0.1734, allocations: 2.378 MB / 342.1 MB, free: 6.734 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.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.FirstExample_Variant2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.o] Error 1