Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001086/0.001087, allocations: 90.48 kB / 16.95 MB, free: 5.559 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.001231/0.001231, allocations: 191.8 kB / 17.85 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 12 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1348, allocations: 50.4 MB / 351.8 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.002104/0.137, allocations: 1.374 MB / 353.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.1377, allocations: 303.1 kB / 353.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1379, allocations: 4 kB / 353.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.138, allocations: 27.8 kB / 353.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.138, allocations: 7.875 kB / 353.6 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1384, allocations: 91.88 kB / 353.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.1387, allocations: 239.5 kB / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.139, allocations: 153.5 kB / 354 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.1391, allocations: 67.78 kB / 354.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1392, allocations: 79.59 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.1393, allocations: 12 kB / 354.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.1394, allocations: 12 kB / 354.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.1394, allocations: 43.84 kB / 354.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.1395, allocations: 57.58 kB / 354.3 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1397, allocations: 171.6 kB / 354.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1397, allocations: 0 / 354.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1397, allocations: 0 / 354.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1397, allocations: 0 / 354.5 MB, free: 1.391 MB / 286.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.0006651/0.1404, allocations: 454.7 kB / 354.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1405, allocations: 8.031 kB / 354.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.1406, allocations: 27.77 kB / 354.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1408, allocations: 230.7 kB / 355.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.1409, allocations: 28.56 kB / 355.2 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1409, allocations: 28 kB / 355.2 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.1414, allocations: 262 kB / 355.5 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1414, allocations: 3.984 kB / 355.5 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.1415, allocations: 15.94 kB / 355.5 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.1415, allocations: 11.89 kB / 355.5 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1418, allocations: 165.6 kB / 355.7 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.143, allocations: 0.9867 MB / 356.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1433, allocations: 170 kB / 356.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1434, allocations: 78.06 kB / 356.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1435, allocations: 4.188 kB / 356.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1437, allocations: 140.1 kB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 2.215e-06/0.1438, allocations: 4 kB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.000449/0.1442, allocations: 219.4 kB / 357.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1443, allocations: 89.11 kB / 357.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1444, allocations: 152.6 kB / 357.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1445, allocations: 37.7 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1446, allocations: 148.4 kB / 357.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.1447, allocations: 59.28 kB / 357.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.1447, allocations: 4 kB / 357.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1449, allocations: 338.9 kB / 358.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.145, allocations: 63.97 kB / 358.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.1452, allocations: 136.5 kB / 358.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.1453, allocations: 72.45 kB / 358.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1453, allocations: 0 / 358.3 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003765/0.1457, allocations: 257.5 kB / 358.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1457, allocations: 4 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1457, allocations: 7.984 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1458, allocations: 4 kB / 358.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1459, allocations: 31.92 kB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1459, allocations: 7.938 kB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1461, allocations: 31.69 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.1461, allocations: 12 kB / 358.7 MB, free: 12.87 MB / 302.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: 32 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.condition,transition2.enableFire,$PRE.timer.entryTime,timer.entryTime,stateGraphRoot.activeSteps,$PRE.transition2.t_start,transition2.t_start,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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.1463, allocations: 162.4 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1463, allocations: 15.81 kB / 358.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003444/0.1467, allocations: 190.4 kB / 359 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1467, allocations: 7.984 kB / 359.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1467, allocations: 3.938 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1467, allocations: 0 / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.1474, allocations: 0.5953 MB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1475, allocations: 0 / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.1475, allocations: 23.86 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1476, allocations: 4 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1476, allocations: 8 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1476, allocations: 4 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1476, allocations: 3.953 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1479, allocations: 292.4 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.148, allocations: 92.94 kB / 360.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.148, allocations: 8 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.1481, allocations: 4 kB / 360.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.015e-05/0.1482, allocations: 31.91 kB / 360.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1482, allocations: 4 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.1483, allocations: 99.27 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1483, allocations: 0 / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.1486, allocations: 59.75 kB / 360.3 MB, free: 11.17 MB / 302.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: 20 (transition2.t_start,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: 3 (initialStep.newActive,step.newActive,transition2.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001789/0.1488, allocations: 110.9 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.1492, allocations: 183.7 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1492, allocations: 0 / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1493, allocations: 79.91 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1497, allocations: 24.56 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.1504, allocations: 425.5 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1507, allocations: 0.7328 MB / 361.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.1508, allocations: 31.36 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1508, allocations: 0 / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of Templates: time 0.004917/0.1557, allocations: 2.401 MB / 364.2 MB, free: 7.129 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.o] Error 1