Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009543/0.0009544, allocations: 88.84 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 198.4 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 4 kB / 307.3 MB, free: 1.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 51.5 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001679/0.1272, allocations: 1.149 MB / 359.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1275, allocations: 99.7 kB / 360 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1276, allocations: 0 / 360 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.1276, allocations: 3.938 kB / 360 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.1277, allocations: 3.984 kB / 360.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1279, allocations: 23.92 kB / 360.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.128, allocations: 23.92 kB / 360.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.1281, allocations: 11.98 kB / 360.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.1282, allocations: 8 kB / 360.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.1282, allocations: 11.92 kB / 360.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1283, allocations: 3.938 kB / 360.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.1283, allocations: 0 / 360.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.1283, allocations: 7.938 kB / 360.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1283, allocations: 29.7 kB / 360.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.796e-05/0.1284, allocations: 11.97 kB / 360.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1284, allocations: 0 / 360.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1284, allocations: 0 / 360.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1284, allocations: 0 / 360.2 MB, free: 12.5 MB / 302.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.0004553/0.1289, allocations: 347.5 kB / 360.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1289, allocations: 8.031 kB / 360.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.129, allocations: 3.906 kB / 360.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1292, allocations: 175.1 kB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1292, allocations: 3.938 kB / 360.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1292, allocations: 4 kB / 360.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1295, allocations: 119.2 kB / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1295, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1295, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1295, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.1296, allocations: 27.97 kB / 360.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1298, allocations: 157.7 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.1299, allocations: 58.48 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.13, allocations: 32.83 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1301, allocations: 4 kB / 361.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1301, allocations: 38.55 kB / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1301, allocations: 0 / 361.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.1303, allocations: 77.58 kB / 361.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1304, allocations: 51.41 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.1305, allocations: 109.8 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1305, allocations: 25.7 kB / 361.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.1305, allocations: 84.14 kB / 361.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.1305, allocations: 0 / 361.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1306, allocations: 4 kB / 361.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1307, allocations: 318.8 kB / 361.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.1307, allocations: 3.984 kB / 361.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.1307, allocations: 27.44 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.1308, allocations: 8 kB / 361.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1308, allocations: 7.938 kB / 361.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.563e-05/0.1309, allocations: 49.62 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1309, allocations: 8 kB / 361.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1309, allocations: 4.078 kB / 361.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1309, allocations: 4 kB / 361.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.131, allocations: 11.94 kB / 361.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.131, allocations: 0 / 361.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.131, allocations: 4 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.131, allocations: 0 / 361.9 MB, free: 10.52 MB / 302.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 9.375e-05/0.1311, allocations: 122 kB / 362 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1312, allocations: 61.59 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.1313, allocations: 11.91 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1313, allocations: 7.953 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1313, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1313, allocations: 0 / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1314, allocations: 161.6 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1314, allocations: 0 / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.1315, allocations: 8 kB / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1315, allocations: 0 / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1315, allocations: 0 / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1315, allocations: 0 / 362.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1315, allocations: 7.953 kB / 362.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.1316, allocations: 85.44 kB / 362.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1317, allocations: 89.05 kB / 362.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1317, allocations: 3.984 kB / 362.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.1317, allocations: 4 kB / 362.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.1318, allocations: 7.938 kB / 362.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.1318, allocations: 7.953 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.1318, allocations: 79.28 kB / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1318, allocations: 0 / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.132, allocations: 4 kB / 362.6 MB, free: 9.766 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.0001139/0.1321, allocations: 107.2 kB / 362.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1323, allocations: 24.17 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1323, allocations: 4.062 kB / 362.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.1323, allocations: 0 / 362.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1325, allocations: 31.16 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.1328, allocations: 142.3 kB / 362.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1331, allocations: 0.677 MB / 363.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.1331, allocations: 15.44 kB / 363.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1332, allocations: 0 / 363.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of Templates: time 0.00176/0.1349, allocations: 0.5508 MB / 364.1 MB, free: 8.156 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStepCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStepCalcHelperMain.o] Error 1