Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009145, allocations: 93.14 kB / 16.95 MB, free: 5.938 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.001191/0.001191, allocations: 190.6 kB / 17.85 MB, free: 5.609 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.389/1.389, allocations: 223.2 MB / 241.8 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002732, allocations: 7.938 kB / 301.5 MB, free: 6.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 50.42 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001817/0.107, allocations: 1.205 MB / 353.1 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003545/0.1074, allocations: 152.3 kB / 353.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.094e-05/0.1075, allocations: 7.938 kB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.694e-05/0.1075, allocations: 0 / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1077, allocations: 7.922 kB / 353.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1079, allocations: 27.97 kB / 353.3 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.108, allocations: 31.86 kB / 353.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.1081, allocations: 8 kB / 353.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.1081, allocations: 11.92 kB / 353.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.598e-05/0.1082, allocations: 11.94 kB / 353.3 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1082, allocations: 8 kB / 353.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1082, allocations: 3.938 kB / 353.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.1083, allocations: 15.91 kB / 353.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1083, allocations: 33.7 kB / 353.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.007e-05/0.1084, allocations: 23.95 kB / 353.4 MB, free: 2.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1084, allocations: 4 kB / 353.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1084, allocations: 0 / 353.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1084, allocations: 0 / 353.4 MB, free: 2.469 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000429/0.1088, allocations: 355.4 kB / 353.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1089, allocations: 16.02 kB / 353.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.1089, allocations: 11.86 kB / 353.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1091, allocations: 190 kB / 354 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1092, allocations: 4 kB / 354 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.1092, allocations: 4 kB / 354 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.1095, allocations: 117 kB / 354.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1095, allocations: 0 / 354.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1095, allocations: 4 kB / 354.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1095, allocations: 3.984 kB / 354.1 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.1096, allocations: 27.88 kB / 354.1 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.1099, allocations: 265.7 kB / 354.4 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1101, allocations: 138.2 kB / 354.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.1102, allocations: 29.77 kB / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1102, allocations: 4 kB / 354.6 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1102, allocations: 38.56 kB / 354.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1102, allocations: 0 / 354.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.1105, allocations: 81.56 kB / 354.7 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1105, allocations: 81.23 kB / 354.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1107, allocations: 138 kB / 354.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1107, allocations: 29.7 kB / 354.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.1107, allocations: 88.08 kB / 355 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.1107, allocations: 0 / 355 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1108, allocations: 0 / 355 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1109, allocations: 322.8 kB / 355.3 MB, free: 304 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.1109, allocations: 8 kB / 355.3 MB, free: 296 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.723e-05/0.111, allocations: 39.42 kB / 355.4 MB, free: 244 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.111, allocations: 8 kB / 355.4 MB, free: 236 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.111, allocations: 0 / 355.4 MB, free: 236 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.1111, allocations: 77.55 kB / 355.5 MB, free: 152 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1112, allocations: 8 kB / 355.5 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1112, allocations: 0 / 355.5 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1112, allocations: 7.891 kB / 355.5 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.1113, allocations: 11.94 kB / 355.5 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1113, allocations: 7.984 kB / 355.5 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.1113, allocations: 15.97 kB / 355.5 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1113, allocations: 0 / 355.5 MB, free: 100 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.0001079/0.1114, allocations: 121.8 kB / 355.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.1115, allocations: 41.69 kB / 355.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1116, allocations: 12.25 kB / 355.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1116, allocations: 7.891 kB / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1116, allocations: 4 kB / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1116, allocations: 0 / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1117, allocations: 165.6 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1118, allocations: 4 kB / 355.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.1118, allocations: 19.98 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1118, allocations: 0 / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1118, allocations: 4 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1118, allocations: 0 / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1118, allocations: 3.953 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.112, allocations: 168.7 kB / 356 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.1121, allocations: 97.03 kB / 356.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1121, allocations: 0 / 356.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.1122, allocations: 7.938 kB / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1122, allocations: 0 / 356.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1122, allocations: 7.938 kB / 356.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.402e-05/0.1123, allocations: 103.3 kB / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1123, allocations: 0 / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1125, allocations: 8 kB / 356.3 MB, free: 15.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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 9.805e-05/0.1126, allocations: 98.48 kB / 356.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1127, allocations: 35.91 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1128, allocations: 4 kB / 356.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.1128, allocations: 8.25 kB / 356.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.1132, allocations: 26.77 kB / 356.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.1135, allocations: 191.3 kB / 356.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1138, allocations: 0.6926 MB / 357.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1138, allocations: 15.44 kB / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1139, allocations: 0 / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.00212/0.116, allocations: 0.6757 MB / 358 MB, free: 13.42 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1CalcHelperMain.o] Error 1