Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 95.3 kB / 16.95 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.001573/0.001573, 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.408/1.408, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003838, allocations: 4.875 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001604/0.1153, allocations: 1.128 MB / 353 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002149/0.1155, allocations: 35.91 kB / 353 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.1156, allocations: 4 kB / 353 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.1156, allocations: 3.938 kB / 353 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.1157, allocations: 3.984 kB / 353 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.116, allocations: 19.98 kB / 353.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.1161, allocations: 19.94 kB / 353.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.1162, allocations: 15.97 kB / 353.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.1162, allocations: 7.938 kB / 353.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.1163, allocations: 15.92 kB / 353.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1163, allocations: 0 / 353.1 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.1163, allocations: 7.938 kB / 353.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1163, allocations: 0 / 353.1 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.1164, allocations: 25.7 kB / 353.2 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.725e-05/0.1165, allocations: 31.94 kB / 353.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1165, allocations: 4 kB / 353.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1165, allocations: 0 / 353.2 MB, free: 2.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1165, allocations: 0 / 353.2 MB, free: 2.688 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.0004306/0.1169, allocations: 339.5 kB / 353.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.117, allocations: 8.031 kB / 353.5 MB, free: 2.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.117, allocations: 15.84 kB / 353.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1172, allocations: 171 kB / 353.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1172, allocations: 12 kB / 353.7 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1173, allocations: 0 / 353.7 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1176, allocations: 119.3 kB / 353.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1176, allocations: 0 / 353.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1176, allocations: 0 / 353.8 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1176, allocations: 4 kB / 353.8 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1178, allocations: 35.86 kB / 353.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1179, allocations: 157.7 kB / 354 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1181, allocations: 62.53 kB / 354.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.1181, allocations: 24.92 kB / 354.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.1182, allocations: 0 / 354.1 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1182, allocations: 34.56 kB / 354.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1182, allocations: 0 / 354.2 MB, free: 1.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002648/0.1185, allocations: 81.59 kB / 354.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1185, allocations: 59.25 kB / 354.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.996e-05/0.1186, allocations: 117.8 kB / 354.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1187, allocations: 25.7 kB / 354.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.1187, allocations: 84.14 kB / 354.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.1187, allocations: 0 / 354.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.1187, allocations: 4 kB / 354.5 MB, free: 1.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1189, allocations: 314.8 kB / 354.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.1189, allocations: 8 kB / 354.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.1189, allocations: 27.44 kB / 354.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.119, allocations: 15.94 kB / 354.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.119, allocations: 0 / 354.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.441e-05/0.1191, allocations: 53.62 kB / 354.9 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1191, allocations: 8 kB / 354.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1191, allocations: 128 / 354.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1191, allocations: 4 kB / 354.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1192, allocations: 15.98 kB / 355 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1192, allocations: 4 kB / 355 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.1192, allocations: 3.906 kB / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1192, allocations: 7.953 kB / 355 MB, free: 0.6719 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 0.0001163/0.1194, allocations: 113.8 kB / 355.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1195, allocations: 61.67 kB / 355.1 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1195, allocations: 7.906 kB / 355.2 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1196, allocations: 8 kB / 355.2 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1196, allocations: 3.938 kB / 355.2 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1196, allocations: 0 / 355.2 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1197, allocations: 161.6 kB / 355.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1197, allocations: 0 / 355.3 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.1198, allocations: 11.98 kB / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1198, allocations: 0 / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1198, allocations: 0 / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1198, allocations: 384 / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1198, allocations: 7.938 kB / 355.3 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.12, allocations: 100.9 kB / 355.4 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.12, allocations: 77.11 kB / 355.5 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.12, allocations: 11.98 kB / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.719e-05/0.1201, allocations: 0 / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-06/0.1201, allocations: 0 / 355.5 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1201, allocations: 4 kB / 355.5 MB, free: 4 kB / 286.1 MB Notification: Performance of sorting global known variables: time 6.805e-05/0.1202, allocations: 87.27 kB / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1202, allocations: 0 / 355.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1204, allocations: 4 kB / 355.6 MB, free: 15.91 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: 4 (assignClock1.u,assignClock1.y,step.y,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.000125/0.1205, allocations: 103.5 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1206, allocations: 31.92 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1206, allocations: 0 / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1207, allocations: 0 / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.121, allocations: 39.86 kB / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.1213, allocations: 150.6 kB / 355.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1216, allocations: 0.6809 MB / 356.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.1216, allocations: 15.44 kB / 356.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1217, allocations: 0 / 356.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Templates: time 0.001892/0.1235, allocations: 0.6131 MB / 357.2 MB, free: 14.22 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStepCalcHelperMain.o] Error 1