Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007937/0.0007936, allocations: 98.8 kB / 16.96 MB, free: 6.453 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.0007886/0.0007886, allocations: 179.2 kB / 17.84 MB, free: 6 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.433/1.433, allocations: 223.3 MB / 241.9 MB, free: 296 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 4 kB / 301.5 MB, free: 6.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 50.41 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001745/0.1192, allocations: 1.167 MB / 353 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001877/0.1194, allocations: 35.91 kB / 353.1 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.1195, allocations: 3.938 kB / 353.1 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.1195, allocations: 3.984 kB / 353.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.1196, allocations: 3.938 kB / 353.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1198, allocations: 27.97 kB / 353.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.901e-05/0.1199, allocations: 27.92 kB / 353.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1201, allocations: 15.98 kB / 353.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.1201, allocations: 11.92 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1202, allocations: 19.92 kB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1202, allocations: 0 / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.1202, allocations: 0 / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.1203, allocations: 11.94 kB / 353.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1203, allocations: 25.7 kB / 353.2 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.5e-05/0.1204, allocations: 27.94 kB / 353.2 MB, free: 2.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1204, allocations: 7.938 kB / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1204, allocations: 0 / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1204, allocations: 0 / 353.3 MB, free: 2.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005714/0.121, allocations: 355.5 kB / 353.6 MB, free: 2.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.121, allocations: 8.031 kB / 353.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1211, allocations: 15.8 kB / 353.6 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1213, allocations: 171.1 kB / 353.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1213, allocations: 0 / 353.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1213, allocations: 4 kB / 353.8 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.1219, allocations: 167.2 kB / 354 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1219, allocations: 0 / 354 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1219, allocations: 0 / 354 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1219, allocations: 0 / 354 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.1222, allocations: 59.89 kB / 354 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1223, allocations: 157.7 kB / 354.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1226, allocations: 90.5 kB / 354.3 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1228, allocations: 40.91 kB / 354.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1228, allocations: 0 / 354.3 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1228, allocations: 42.48 kB / 354.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1228, allocations: 0 / 354.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000432/0.1232, allocations: 121.5 kB / 354.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.1233, allocations: 55.41 kB / 354.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.1234, allocations: 113.8 kB / 354.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1234, allocations: 29.64 kB / 354.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1235, allocations: 84.14 kB / 354.7 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.1235, allocations: 4 kB / 354.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1235, allocations: 0 / 354.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1236, allocations: 314.8 kB / 355.1 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.1237, allocations: 8 kB / 355.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.1237, allocations: 31.38 kB / 355.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.1237, allocations: 12 kB / 355.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1237, allocations: 0 / 355.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.305e-05/0.1238, allocations: 65.53 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1238, allocations: 4 kB / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.1238, allocations: 0 / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1239, allocations: 8.125 kB / 355.2 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.617e-05/0.1239, allocations: 11.92 kB / 355.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1239, allocations: 4 kB / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.124, allocations: 128 / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.124, allocations: 15.89 kB / 355.2 MB, free: 404 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (ramp.counter,$CLKPRE.ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.893e-05/0.1241, allocations: 109.8 kB / 355.3 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.1243, allocations: 85.64 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.1244, allocations: 15.89 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1244, allocations: 0 / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1244, allocations: 4 kB / 355.4 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1244, allocations: 0 / 355.4 MB, free: 164 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.1245, allocations: 161.6 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1245, allocations: 0 / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.1246, allocations: 19.92 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1246, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1247, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1247, allocations: 4 kB / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1247, allocations: 0 / 355.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.125, allocations: 124.9 kB / 355.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.125, allocations: 85.05 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.1251, allocations: 3.984 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.1251, allocations: 4 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-06/0.1251, allocations: 0 / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1251, allocations: 7.984 kB / 355.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.1252, allocations: 83.28 kB / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1252, allocations: 0 / 355.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.1254, allocations: 4 kB / 355.9 MB, free: 15.59 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001249/0.1255, allocations: 118.4 kB / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1257, allocations: 39.95 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1257, allocations: 0 / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1257, allocations: 0 / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1261, allocations: 51.89 kB / 356.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.1265, allocations: 159.1 kB / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1268, allocations: 0.6886 MB / 357 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1268, allocations: 11.44 kB / 357 MB, free: 14.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1268, allocations: 0 / 357 MB, free: 14.46 MB / 302.1 MB Notification: Performance of Templates: time 0.00214/0.1289, allocations: 0.6873 MB / 357.7 MB, free: 13.78 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.Clocked.Examples.Elementary.RealSignals.TickBasedRampCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRampCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRampCalcHelperMain.o] Error 1