Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 97.88 kB / 16.96 MB, free: 5.953 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.001314/0.001314, allocations: 177.7 kB / 17.84 MB, free: 5.617 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.464/1.464, allocations: 223.2 MB / 241.9 MB, free: 236 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.000295, allocations: 11.94 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001881/0.1287, allocations: 1.159 MB / 353 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.1289, allocations: 35.91 kB / 353.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.129, allocations: 0 / 353.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.129, allocations: 3.938 kB / 353.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.954e-05/0.1291, allocations: 0 / 353.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1293, allocations: 23.97 kB / 353.1 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.1294, allocations: 27.92 kB / 353.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1295, allocations: 11.94 kB / 353.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.1296, allocations: 11.92 kB / 353.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.1296, allocations: 11.92 kB / 353.2 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1297, allocations: 4 kB / 353.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.1297, allocations: 0 / 353.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.1297, allocations: 0 / 353.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.1298, allocations: 29.7 kB / 353.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.1298, allocations: 23.95 kB / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1298, allocations: 4 kB / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1299, allocations: 0 / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1299, allocations: 0 / 353.2 MB, free: 2.664 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.0004443/0.1303, allocations: 347.5 kB / 353.6 MB, free: 2.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1304, allocations: 8.031 kB / 353.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1304, allocations: 11.86 kB / 353.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1306, allocations: 175 kB / 353.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.1306, allocations: 4 kB / 353.8 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1307, allocations: 4 kB / 353.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.131, allocations: 123.3 kB / 353.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1311, allocations: 0 / 353.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1311, allocations: 3.984 kB / 353.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1311, allocations: 0 / 353.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1312, allocations: 31.88 kB / 353.9 MB, free: 1.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1314, allocations: 157.7 kB / 354.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1315, allocations: 58.55 kB / 354.1 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.1316, allocations: 28.92 kB / 354.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.1316, allocations: 3.938 kB / 354.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1316, allocations: 34.5 kB / 354.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1316, allocations: 0 / 354.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002546/0.1319, allocations: 81.59 kB / 354.3 MB, free: 1.438 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.132, allocations: 59.31 kB / 354.3 MB, free: 1.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.1321, allocations: 113.8 kB / 354.4 MB, free: 1.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1321, allocations: 29.7 kB / 354.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.1321, allocations: 80.14 kB / 354.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.1322, allocations: 0 / 354.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.1322, allocations: 8 kB / 354.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1323, allocations: 314.8 kB / 354.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.1323, allocations: 4 kB / 354.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.1324, allocations: 31.44 kB / 354.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.1324, allocations: 11.94 kB / 354.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1324, allocations: 0 / 354.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.635e-05/0.1325, allocations: 57.81 kB / 355 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1325, allocations: 4 kB / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1325, allocations: 4.125 kB / 355 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1325, allocations: 4 kB / 355 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.1326, allocations: 15.97 kB / 355 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1326, allocations: 0 / 355 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.1326, allocations: 4 kB / 355 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1327, allocations: 7.953 kB / 355 MB, free: 0.6445 MB / 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 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.334e-05/0.1327, allocations: 113.8 kB / 355.1 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1329, allocations: 69.58 kB / 355.2 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.1329, allocations: 3.906 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1329, allocations: 4 kB / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1329, allocations: 0 / 355.2 MB, free: 444 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.133, allocations: 3.984 kB / 355.2 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1331, allocations: 158 kB / 355.3 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1331, allocations: 3.938 kB / 355.4 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.1331, allocations: 19.98 kB / 355.4 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1331, allocations: 0 / 355.4 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1332, allocations: 4 kB / 355.4 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1332, allocations: 0 / 355.4 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1332, allocations: 0 / 355.4 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1333, allocations: 97 kB / 355.5 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1335, allocations: 89 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1335, allocations: 0 / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.953e-05/0.1335, allocations: 4 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.1335, allocations: 0 / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1335, allocations: 0 / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.319e-05/0.1336, allocations: 87.27 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1336, allocations: 3.938 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001798/0.1338, allocations: 4 kB / 355.7 MB, free: 15.88 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 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0001218/0.1339, allocations: 103.2 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1341, allocations: 27.92 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1341, allocations: 0 / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1341, allocations: 0 / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1344, allocations: 43 kB / 355.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.1348, allocations: 154.7 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1351, allocations: 0.6848 MB / 356.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1351, allocations: 7.438 kB / 356.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1351, allocations: 0 / 356.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Templates: time 0.002164/0.1373, allocations: 0.6143 MB / 357.3 MB, free: 14.19 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStepCalcHelperMain.o] Error 1