Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.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_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3") translateModel(Modelica.StateGraph.Examples.FirstExample_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009643/0.0009647, allocations: 91.06 kB / 17.95 MB, free: 5.629 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.001368/0.001368, allocations: 176.3 kB / 18.86 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.96/1.96, allocations: 205.4 MB / 225 MB, free: 12.97 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.0005836/0.000584, allocations: 12 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002459/0.1444, allocations: 1.426 MB / 331 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.1454, allocations: 271.1 kB / 331.3 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.1456, allocations: 7.938 kB / 331.3 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1458, allocations: 23.8 kB / 331.3 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.1459, allocations: 7.938 kB / 331.3 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.1464, allocations: 107.9 kB / 331.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.1468, allocations: 247.5 kB / 331.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.1472, allocations: 169.8 kB / 331.8 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1473, allocations: 67.72 kB / 331.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1474, allocations: 75.59 kB / 332 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.1475, allocations: 12 kB / 332 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.1476, allocations: 16 kB / 332 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1477, allocations: 39.84 kB / 332 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.1478, allocations: 117.2 kB / 332.2 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1481, allocations: 163.9 kB / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1481, allocations: 0 / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1481, allocations: 0 / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1481, allocations: 0 / 332.3 MB, free: 1.023 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.0008642/0.149, allocations: 449.9 kB / 332.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.149, allocations: 8.031 kB / 332.8 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.1491, allocations: 24.69 kB / 332.8 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1494, allocations: 228 kB / 333 MB, free: 236 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.1495, allocations: 24.94 kB / 333 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.1496, allocations: 24.38 kB / 333.1 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.1501, allocations: 278.5 kB / 333.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1501, allocations: 192 / 333.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.1501, allocations: 11.94 kB / 333.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1501, allocations: 8 kB / 333.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.1505, allocations: 169.6 kB / 333.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1517, allocations: 0.9633 MB / 334.5 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.152, allocations: 158.7 kB / 334.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1522, allocations: 76.88 kB / 334.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.1522, allocations: 4 kB / 334.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.1525, allocations: 111.3 kB / 334.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.1525, allocations: 0 / 334.8 MB, free: 14.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0004842/0.153, allocations: 213.9 kB / 335 MB, free: 14.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.1531, allocations: 55.41 kB / 335.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1533, allocations: 157.1 kB / 335.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.1533, allocations: 49.69 kB / 335.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1535, allocations: 132.5 kB / 335.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.816e-05/0.1535, allocations: 63.14 kB / 335.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.1536, allocations: 53.69 kB / 335.5 MB, free: 13.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1538, allocations: 330.8 kB / 335.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1539, allocations: 60.62 kB / 335.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1541, allocations: 141.8 kB / 336.1 MB, free: 12.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.1544, allocations: 200.2 kB / 336.2 MB, free: 12.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1544, allocations: 3.938 kB / 336.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003877/0.1548, allocations: 249.4 kB / 336.5 MB, free: 12.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1549, allocations: 8 kB / 336.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1549, allocations: 0 / 336.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1549, allocations: 4 kB / 336.5 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.155, allocations: 35.92 kB / 336.5 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1551, allocations: 7.938 kB / 336.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1552, allocations: 27.69 kB / 336.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.1552, allocations: 19.98 kB / 336.6 MB, free: 12.41 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.0002019/0.1554, allocations: 152.4 kB / 336.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1555, allocations: 11.91 kB / 336.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.1558, allocations: 194.4 kB / 336.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1559, allocations: 4 kB / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1559, allocations: 3.984 kB / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1559, allocations: 0 / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008257/0.1567, allocations: 0.5988 MB / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1567, allocations: 0 / 337.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.1568, allocations: 19.92 kB / 337.6 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1568, allocations: 3.938 kB / 337.6 MB, free: 11.35 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1569, allocations: 8 kB / 337.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1569, allocations: 0 / 337.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1569, allocations: 0 / 337.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1573, allocations: 275.2 kB / 337.9 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.1573, allocations: 96.89 kB / 337.9 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.1574, allocations: 4 kB / 338 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1575, allocations: 7.984 kB / 338 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.1576, allocations: 19.98 kB / 338 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1576, allocations: 11.98 kB / 338 MB, free: 10.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.729e-05/0.1577, allocations: 95.27 kB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.158, allocations: 55.75 kB / 338.1 MB, free: 10.75 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,transition1.enableFire,step.localActive,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.0001961/0.1582, allocations: 107.2 kB / 338.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.1587, allocations: 187.7 kB / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1587, allocations: 0 / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.1589, allocations: 75.92 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.0003065/0.1592, allocations: 27.86 kB / 338.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.16, allocations: 442.3 kB / 339 MB, free: 9.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1604, allocations: 0.7287 MB / 339.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.1605, allocations: 23.42 kB / 339.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1605, allocations: 0 / 339.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of Templates: time 0.005546/0.1661, allocations: 2.363 MB / 342.1 MB, free: 6.746 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3.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_Variant3CalcHelperMain.o OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant3CalcHelperMain.o] Error 1