Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.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_Variant3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 87.02 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 198.2 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.642/1.642, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002591, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.002824/0.1505, allocations: 1.418 MB / 360.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.1515, allocations: 303.2 kB / 360.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1516, allocations: 4 kB / 360.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1518, allocations: 19.8 kB / 360.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.1519, allocations: 11.88 kB / 360.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1524, allocations: 83.91 kB / 360.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.1527, allocations: 247.4 kB / 360.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.1531, allocations: 141.8 kB / 361 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1532, allocations: 75.69 kB / 361.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1534, allocations: 79.61 kB / 361.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.1535, allocations: 8 kB / 361.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.1536, allocations: 19.94 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.484e-05/0.1537, allocations: 39.83 kB / 361.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.1538, allocations: 57.64 kB / 361.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.154, allocations: 159.6 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.1541, allocations: 0 / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1541, allocations: 4 kB / 361.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1541, allocations: 0 / 361.4 MB, free: 11.47 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008781/0.155, allocations: 446.9 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.155, allocations: 8.031 kB / 361.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.494e-05/0.1551, allocations: 19.81 kB / 361.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1555, allocations: 234.7 kB / 362.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.1555, allocations: 24.5 kB / 362.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.1556, allocations: 35.94 kB / 362.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.1561, allocations: 277.9 kB / 362.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1562, allocations: 0 / 362.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.1562, allocations: 12 kB / 362.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1562, allocations: 4 kB / 362.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.1566, allocations: 165.6 kB / 362.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.158, allocations: 0.9752 MB / 363.6 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.1584, allocations: 169 kB / 363.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1585, allocations: 86.06 kB / 363.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1586, allocations: 4.188 kB / 363.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.1589, allocations: 134.4 kB / 364 MB, free: 8.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.1589, allocations: 0 / 364 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.000527/0.1594, allocations: 228.6 kB / 364.2 MB, free: 8.465 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1595, allocations: 93.22 kB / 364.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1597, allocations: 153.4 kB / 364.5 MB, free: 8.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.1597, allocations: 37.7 kB / 364.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1599, allocations: 132.5 kB / 364.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.1599, allocations: 71.17 kB / 364.7 MB, free: 7.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.16, allocations: 4 kB / 364.7 MB, free: 7.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1601, allocations: 326.8 kB / 365 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1603, allocations: 59.97 kB / 365.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1605, allocations: 140.3 kB / 365.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1606, allocations: 75.94 kB / 365.3 MB, free: 7.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1606, allocations: 0 / 365.3 MB, free: 7.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004084/0.1611, allocations: 253.8 kB / 365.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.1611, allocations: 8 kB / 365.5 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1611, allocations: 4 kB / 365.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.1611, allocations: 12.23 kB / 365.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.1613, allocations: 35.86 kB / 365.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.1613, allocations: 4 kB / 365.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1614, allocations: 31.73 kB / 365.6 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.1615, allocations: 19.92 kB / 365.6 MB, free: 6.953 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.0002075/0.1617, allocations: 162.4 kB / 365.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.1618, allocations: 11.81 kB / 365.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.1621, allocations: 196.1 kB / 366 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.1622, allocations: 7.953 kB / 366 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1622, allocations: 3.938 kB / 366 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.1622, allocations: 3.984 kB / 366 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008289/0.163, allocations: 0.5877 MB / 366.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.163, allocations: 7.953 kB / 366.6 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.1631, allocations: 8 kB / 366.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1631, allocations: 8 kB / 366.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.1632, allocations: 7.984 kB / 366.6 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1632, allocations: 4 kB / 366.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1632, allocations: 0 / 366.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1635, allocations: 276.1 kB / 366.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1636, allocations: 96.81 kB / 367 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1636, allocations: 8 kB / 367 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.1637, allocations: 15.98 kB / 367 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.1638, allocations: 23.97 kB / 367.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1638, allocations: 4 kB / 367.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.1639, allocations: 99.27 kB / 367.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 0 / 367.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.1642, allocations: 51.84 kB / 367.2 MB, free: 5.27 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,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: 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.0002134/0.1645, allocations: 115.1 kB / 367.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.1648, allocations: 183.7 kB / 367.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1648, allocations: 0 / 367.5 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.165, allocations: 87.84 kB / 367.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1653, allocations: 22.73 kB / 367.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/0.1661, allocations: 430.9 kB / 368 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1664, allocations: 0.7326 MB / 368.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.1665, allocations: 27.42 kB / 368.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1665, allocations: 0 / 368.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Templates: time 0.005359/0.1719, allocations: 2.391 MB / 371.2 MB, free: 1.238 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.makefile make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3.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.FirstExample_Variant3CalcHelperMain.o OMCppModelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.StateGraph.Examples.FirstExample_Variant3CalcHelperMain.o] Error 1