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.001254/0.001254, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001216/0.001217, allocations: 194 kB / 18.72 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.918/1.918, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.00123/0.00123, allocations: 43.94 kB / 280.6 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 46.63 MB / 327.2 MB, free: 4.918 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant3): time 0.003323/0.1307, allocations: 1.784 MB / 329 MB, free: 3.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.1315, allocations: 267.2 kB / 329.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1316, allocations: 7.938 kB / 329.3 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1317, allocations: 15.86 kB / 329.3 MB, free: 2.832 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.1318, allocations: 11.88 kB / 329.3 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.1322, allocations: 103.9 kB / 329.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1325, allocations: 243.5 kB / 329.7 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.1328, allocations: 181.8 kB / 329.8 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.1329, allocations: 83.69 kB / 329.9 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1331, allocations: 87.61 kB / 330 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.1331, allocations: 23.94 kB / 330 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.1332, allocations: 27.98 kB / 330 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.1333, allocations: 47.83 kB / 330.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1334, allocations: 95.47 kB / 330.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1336, allocations: 167.9 kB / 330.4 MB, free: 1.785 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1336, allocations: 4 kB / 330.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1336, allocations: 0 / 330.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1336, allocations: 0 / 330.4 MB, free: 1.781 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.0007928/0.1344, allocations: 490 kB / 330.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1345, allocations: 15.97 kB / 330.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.1346, allocations: 28.59 kB / 330.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1349, allocations: 228.1 kB / 331.1 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.97e-05/0.1349, allocations: 24.94 kB / 331.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.135, allocations: 28.38 kB / 331.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.1354, allocations: 266.6 kB / 331.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1354, allocations: 4.125 kB / 331.4 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1355, allocations: 19.92 kB / 331.4 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1355, allocations: 4 kB / 331.4 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1358, allocations: 161.6 kB / 331.6 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1371, allocations: 0.975 MB / 332.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1374, allocations: 150.8 kB / 332.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1375, allocations: 76.83 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1376, allocations: 7.938 kB / 332.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.1378, allocations: 107.4 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.442e-06/0.1378, allocations: 0 / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0004216/0.1383, allocations: 209.3 kB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.1383, allocations: 63.41 kB / 333.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1385, allocations: 153.6 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.1385, allocations: 37.7 kB / 333.4 MB, free: 14.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1387, allocations: 140.5 kB / 333.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.1387, allocations: 63.19 kB / 333.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.1388, allocations: 74.02 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.139, allocations: 334.8 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1391, allocations: 64.62 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1394, allocations: 137.8 kB / 334.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1396, allocations: 192.3 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1397, allocations: 3.938 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00052/0.1402, allocations: 257.2 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1402, allocations: 4 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1402, allocations: 4 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.1403, allocations: 4 kB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1404, allocations: 31.92 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1405, allocations: 4 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1406, allocations: 27.97 kB / 334.7 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.1406, allocations: 23.98 kB / 334.7 MB, free: 13.11 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.0001704/0.1408, allocations: 148.3 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.1408, allocations: 27.73 kB / 334.9 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003561/0.1412, allocations: 194.3 kB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1412, allocations: 4 kB / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1412, allocations: 0 / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1412, allocations: 0 / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.142, allocations: 0.5988 MB / 335.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.142, allocations: 0 / 335.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.1421, allocations: 19.92 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1421, allocations: 3.938 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1421, allocations: 4 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1421, allocations: 4 kB / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1422, allocations: 0 / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1425, allocations: 267.3 kB / 336 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.1427, allocations: 100.8 kB / 336.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1427, allocations: 4 kB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.1428, allocations: 11.98 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.1429, allocations: 11.98 kB / 336.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1429, allocations: 11.98 kB / 336.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.143, allocations: 95.27 kB / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000393/0.1434, allocations: 51.84 kB / 336.2 MB, free: 11.45 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.0001712/0.1436, allocations: 115.1 kB / 336.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.144, allocations: 187.7 kB / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.144, allocations: 0 / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1442, allocations: 75.86 kB / 336.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1445, allocations: 28.48 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.1453, allocations: 432.2 kB / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1457, allocations: 0.7326 MB / 337.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/0.1457, allocations: 23.44 kB / 337.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1458, allocations: 4 kB / 337.8 MB, free: 9.805 MB / 286.1 MB Notification: Performance of Templates: time 0.004678/0.1504, allocations: 2.39 MB / 340.2 MB, free: 7.414 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