Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample") translateModel(Modelica.StateGraph.Examples.FirstExample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.FirstExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 95.62 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.001731, allocations: 201 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.784/1.784, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002462/0.0002462, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1448, allocations: 51.48 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample): time 0.001662/0.1465, allocations: 1.21 MB / 360 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.1472, allocations: 303.1 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.516e-05/0.1473, allocations: 4 kB / 360.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.191e-05/0.1474, allocations: 19.81 kB / 360.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.06e-05/0.1474, allocations: 7.922 kB / 360.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1477, allocations: 83.89 kB / 360.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.148, allocations: 227.5 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.1483, allocations: 146.1 kB / 360.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.048e-05/0.1484, allocations: 63.78 kB / 360.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1485, allocations: 75.59 kB / 360.9 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1485, allocations: 12 kB / 360.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.734e-05/0.1486, allocations: 16 kB / 360.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1487, allocations: 39.84 kB / 361 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1487, allocations: 53.64 kB / 361 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1489, allocations: 151.7 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.149, allocations: 0 / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.149, allocations: 0 / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.149, allocations: 0 / 361.2 MB, free: 11.73 MB / 302.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.0006031/0.1496, allocations: 442.8 kB / 361.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1496, allocations: 12.03 kB / 361.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.1497, allocations: 23.72 kB / 361.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.15, allocations: 230.7 kB / 361.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.15, allocations: 20.56 kB / 361.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.1501, allocations: 27.95 kB / 361.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.1505, allocations: 239.5 kB / 362.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1505, allocations: 0 / 362.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1505, allocations: 8 kB / 362.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1506, allocations: 8 kB / 362.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.1509, allocations: 165.6 kB / 362.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009822/0.1519, allocations: 0.7091 MB / 363 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1522, allocations: 166.5 kB / 363.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1523, allocations: 81.2 kB / 363.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1524, allocations: 4.188 kB / 363.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.1526, allocations: 122.8 kB / 363.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.452e-06/0.1526, allocations: 0 / 363.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004015/0.153, allocations: 213.2 kB / 363.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1531, allocations: 63.34 kB / 363.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1532, allocations: 153.5 kB / 363.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.1533, allocations: 37.7 kB / 363.8 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.1534, allocations: 132.6 kB / 364 MB, free: 8.703 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1534, allocations: 59.19 kB / 364 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.1534, allocations: 4 kB / 364 MB, free: 8.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1536, allocations: 330.8 kB / 364.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1537, allocations: 60.62 kB / 364.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1539, allocations: 128.1 kB / 364.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.154, allocations: 68.47 kB / 364.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.154, allocations: 0 / 364.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003694/0.1544, allocations: 241.3 kB / 364.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.1544, allocations: 4 kB / 364.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1544, allocations: 8.156 kB / 364.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1544, allocations: 11.94 kB / 364.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1546, allocations: 31.92 kB / 364.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1546, allocations: 8 kB / 364.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1547, allocations: 31.69 kB / 364.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.1547, allocations: 8 kB / 364.9 MB, free: 7.688 MB / 302.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,$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,step.active,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1549, allocations: 161.7 kB / 365.1 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.155, allocations: 11.89 kB / 365.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.1553, allocations: 200.1 kB / 365.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1553, allocations: 0 / 365.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1553, allocations: 0 / 365.3 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1553, allocations: 4 kB / 365.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.1561, allocations: 0.565 MB / 365.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1561, allocations: 0 / 365.9 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.1562, allocations: 27.98 kB / 365.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1562, allocations: 0 / 365.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1562, allocations: 3.953 kB / 365.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1562, allocations: 4 kB / 365.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1562, allocations: 0 / 365.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1565, allocations: 279.2 kB / 366.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1566, allocations: 88.95 kB / 366.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1566, allocations: 7.984 kB / 366.3 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1567, allocations: 19.95 kB / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1568, allocations: 19.95 kB / 366.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1568, allocations: 12 kB / 366.3 MB, free: 6.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.51e-05/0.1569, allocations: 91.27 kB / 366.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1569, allocations: 0 / 366.4 MB, free: 6.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1572, allocations: 47.84 kB / 366.5 MB, free: 6.055 MB / 302.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 (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.0001669/0.1574, allocations: 111.2 kB / 366.6 MB, free: 5.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000293/0.1577, allocations: 187.7 kB / 366.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1577, allocations: 0 / 366.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1578, allocations: 83.91 kB / 366.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1581, allocations: 19.98 kB / 366.9 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.1587, allocations: 405.8 kB / 367.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.1592, allocations: 0.7326 MB / 368 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1592, allocations: 23.44 kB / 368 MB, free: 4.441 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1592, allocations: 0 / 368 MB, free: 4.441 MB / 302.1 MB Notification: Performance of Templates: time 0.004055/0.1633, allocations: 2.321 MB / 370.3 MB, free: 2.129 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.makefile make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample.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_trunk_Modelica.StateGraph.Examples.FirstExampleCalcHelperMain.o OMCppModelica_trunk_Modelica.StateGraph.Examples.FirstExampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.StateGraph.Examples.FirstExampleCalcHelperMain.o] Error 1