Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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_Variant2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001371/0.00137, 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.001651/0.001651, 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.925/1.925, allocations: 205.1 MB / 224.6 MB, free: 12.5 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.001619/0.001619, allocations: 51.92 kB / 280.6 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 46.64 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.FirstExample_Variant2): time 0.004866/0.1371, allocations: 1.745 MB / 329 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.1378, allocations: 275.2 kB / 329.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1379, allocations: 7.938 kB / 329.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.1381, allocations: 15.86 kB / 329.3 MB, free: 2.855 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.1382, allocations: 11.86 kB / 329.3 MB, free: 2.844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1386, allocations: 103.9 kB / 329.4 MB, free: 2.742 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.139, allocations: 247.5 kB / 329.6 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1393, allocations: 191 kB / 329.8 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.109e-05/0.1394, allocations: 83.72 kB / 329.9 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1395, allocations: 95.58 kB / 330 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1396, allocations: 16 kB / 330 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.1397, allocations: 24 kB / 330 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.1397, allocations: 51.77 kB / 330.1 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1398, allocations: 103.4 kB / 330.2 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.14, allocations: 163.9 kB / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1401, allocations: 0 / 330.3 MB, free: 1.781 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1401, allocations: 4 kB / 330.3 MB, free: 1.777 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1401, allocations: 0 / 330.3 MB, free: 1.777 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.0007045/0.1408, allocations: 494.1 kB / 330.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1408, allocations: 12.03 kB / 330.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.1409, allocations: 24.66 kB / 330.9 MB, free: 1.207 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1412, allocations: 232 kB / 331.1 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.1412, allocations: 24.94 kB / 331.1 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1413, allocations: 24.38 kB / 331.1 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.1418, allocations: 274.6 kB / 331.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1418, allocations: 192 / 331.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.1418, allocations: 7.938 kB / 331.4 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1418, allocations: 8 kB / 331.4 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.1421, allocations: 169.5 kB / 331.6 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.1433, allocations: 0.9634 MB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1436, allocations: 162.7 kB / 332.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1437, allocations: 72.83 kB / 332.8 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1437, allocations: 4 kB / 332.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.144, allocations: 115.2 kB / 332.9 MB, free: 15.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 3.507e-06/0.144, allocations: 8 kB / 332.9 MB, free: 15.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0004385/0.1444, allocations: 213.3 kB / 333.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1445, allocations: 55.41 kB / 333.2 MB, free: 14.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1446, allocations: 157.8 kB / 333.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1447, allocations: 33.7 kB / 333.4 MB, free: 14.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1448, allocations: 148.4 kB / 333.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.1448, allocations: 51.36 kB / 333.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.751e-05/0.1449, allocations: 81.91 kB / 333.6 MB, free: 14.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.145, allocations: 334.8 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1452, allocations: 60.62 kB / 334 MB, free: 13.85 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1453, allocations: 141.7 kB / 334.2 MB, free: 13.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1456, allocations: 196.3 kB / 334.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1456, allocations: 7.938 kB / 334.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003876/0.146, allocations: 245.2 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1461, allocations: 8 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1461, allocations: 0 / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.1461, allocations: 11.92 kB / 334.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.1463, allocations: 36.2 kB / 334.7 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1463, allocations: 8 kB / 334.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1464, allocations: 27.77 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.1464, allocations: 8 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.000153/0.1466, allocations: 156.3 kB / 334.8 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.1466, allocations: 15.8 kB / 334.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.147, allocations: 198.7 kB / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.147, allocations: 0 / 335.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.147, allocations: 4 kB / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.147, allocations: 4 kB / 335.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000742/0.1478, allocations: 0.5909 MB / 335.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1478, allocations: 4 kB / 335.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.1479, allocations: 11.98 kB / 335.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1479, allocations: 7.938 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1479, allocations: 4 kB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1479, allocations: 0 / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1479, allocations: 7.938 kB / 335.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1483, allocations: 271.2 kB / 336 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1484, allocations: 92.89 kB / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1484, allocations: 8 kB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.1485, allocations: 15.92 kB / 336.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.1486, allocations: 15.97 kB / 336.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1486, allocations: 8 kB / 336.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.1487, allocations: 100.5 kB / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1487, allocations: 0 / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003047/0.149, allocations: 55.75 kB / 336.2 MB, free: 11.44 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,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: 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.0002172/0.1492, allocations: 119.1 kB / 336.4 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.1496, allocations: 183.7 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1496, allocations: 0.5625 kB / 336.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1497, allocations: 75.91 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1501, allocations: 24 kB / 336.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.1509, allocations: 439.9 kB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1513, allocations: 0.7326 MB / 337.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.1514, allocations: 23.44 kB / 337.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1514, allocations: 0 / 337.8 MB, free: 9.793 MB / 286.1 MB Notification: Performance of Templates: time 0.004765/0.1561, allocations: 2.403 MB / 340.2 MB, free: 7.391 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.makefile make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2.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_Variant2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.StateGraph.Examples.FirstExample_Variant2CalcHelperMain.o] Error 1