Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008003/0.0008003, allocations: 95.05 kB / 16.95 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.0008378/0.000838, allocations: 182 kB / 17.85 MB, free: 5.996 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.46/1.46, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 8.969 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 50.41 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002891/0.1265, allocations: 1.139 MB / 353 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003669/0.1269, allocations: 104.4 kB / 353.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.127, allocations: 0 / 353.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.1271, allocations: 7.922 kB / 353.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.1271, allocations: 0 / 353.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1275, allocations: 27.92 kB / 353.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1276, allocations: 23.92 kB / 353.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1278, allocations: 12 kB / 353.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.1278, allocations: 3.984 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.1279, allocations: 11.94 kB / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1279, allocations: 0 / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.1279, allocations: 4 kB / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.128, allocations: 3.938 kB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.128, allocations: 25.7 kB / 353.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.272e-05/0.1281, allocations: 27.94 kB / 353.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.1282, allocations: 0 / 353.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1282, allocations: 3.938 kB / 353.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1282, allocations: 0 / 353.3 MB, free: 2.598 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.0006201/0.1288, allocations: 335.5 kB / 353.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1289, allocations: 8.031 kB / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1289, allocations: 15.86 kB / 353.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1292, allocations: 167.1 kB / 353.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1292, allocations: 0 / 353.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1292, allocations: 7.938 kB / 353.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.1298, allocations: 119.3 kB / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1298, allocations: 0 / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1298, allocations: 0 / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1299, allocations: 0 / 353.9 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.13, allocations: 31.94 kB / 353.9 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.1302, allocations: 153.7 kB / 354.1 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1305, allocations: 58.55 kB / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.1306, allocations: 24.92 kB / 354.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1306, allocations: 7.938 kB / 354.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.1307, allocations: 30.56 kB / 354.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.567e-06/0.1307, allocations: 3.984 kB / 354.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002995/0.131, allocations: 77.58 kB / 354.3 MB, free: 1.402 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.1311, allocations: 51.41 kB / 354.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1312, allocations: 117.8 kB / 354.4 MB, free: 1.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1312, allocations: 25.7 kB / 354.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.1313, allocations: 84.14 kB / 354.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.1313, allocations: 0 / 354.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.1313, allocations: 7.938 kB / 354.6 MB, free: 1.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.1316, allocations: 314.8 kB / 354.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.1316, allocations: 7.938 kB / 354.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.1317, allocations: 31.44 kB / 354.9 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.1317, allocations: 4 kB / 354.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1317, allocations: 0 / 354.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/0.1318, allocations: 53.62 kB / 355 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1319, allocations: 4 kB / 355 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1319, allocations: 128 / 355 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1319, allocations: 8 kB / 355 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.132, allocations: 11.92 kB / 355 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.132, allocations: 7.938 kB / 355 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.1321, allocations: 4 kB / 355 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1321, allocations: 7.953 kB / 355 MB, free: 0.6172 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001184/0.1322, allocations: 109.8 kB / 355.1 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.1324, allocations: 65.59 kB / 355.2 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1324, allocations: 11.89 kB / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1324, allocations: 0 / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1325, allocations: 0 / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1325, allocations: 0 / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1326, allocations: 157.6 kB / 355.3 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1327, allocations: 256 / 355.3 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.1327, allocations: 19.92 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1328, allocations: 0 / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1328, allocations: 4 kB / 355.4 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1328, allocations: 0 / 355.4 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1328, allocations: 4 kB / 355.4 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.133, allocations: 89.06 kB / 355.5 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1331, allocations: 85.02 kB / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1331, allocations: 0 / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.1332, allocations: 4 kB / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-06/0.1332, allocations: 4 kB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1332, allocations: 0 / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.886e-05/0.1333, allocations: 87.27 kB / 355.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1333, allocations: 0 / 355.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1336, allocations: 4 kB / 355.6 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0002114/0.1338, allocations: 106.4 kB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.134, allocations: 24.17 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.134, allocations: 4.062 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.134, allocations: 0 / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1344, allocations: 27.88 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.0003974/0.1348, allocations: 150.8 kB / 355.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1352, allocations: 0.6848 MB / 356.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1353, allocations: 11.44 kB / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1353, allocations: 0 / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Templates: time 0.002508/0.1378, allocations: 0.5463 MB / 357.2 MB, free: 14.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStepCalcHelperMain.o] Error 1