Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 91.92 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.001617/0.001617, allocations: 178 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.556/1.556, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 11.94 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001874/0.1193, allocations: 1.265 MB / 353.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007619/0.12, allocations: 459.2 kB / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.42e-05/0.1201, allocations: 0 / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.1202, allocations: 7.922 kB / 353.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1203, allocations: 7.938 kB / 353.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1206, allocations: 43.88 kB / 353.6 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.1207, allocations: 39.86 kB / 353.7 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1208, allocations: 8 kB / 353.7 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.1209, allocations: 23.91 kB / 353.7 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.1209, allocations: 11.92 kB / 353.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1209, allocations: 7.938 kB / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.121, allocations: 0 / 353.7 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.121, allocations: 11.94 kB / 353.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.1211, allocations: 41.62 kB / 353.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.1211, allocations: 27.95 kB / 353.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1212, allocations: 8 kB / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1212, allocations: 0 / 353.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1212, allocations: 0 / 353.8 MB, free: 2.031 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.0004713/0.1216, allocations: 367.3 kB / 354.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1217, allocations: 8.031 kB / 354.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.1217, allocations: 11.86 kB / 354.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1219, allocations: 186.8 kB / 354.4 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1219, allocations: 8 kB / 354.4 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.122, allocations: 4 kB / 354.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1223, allocations: 117 kB / 354.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1223, allocations: 0 / 354.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1223, allocations: 3.984 kB / 354.5 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1223, allocations: 3.953 kB / 354.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.1224, allocations: 27.98 kB / 354.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.1228, allocations: 261.8 kB / 354.8 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.123, allocations: 142.3 kB / 354.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.1231, allocations: 29.77 kB / 355 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1231, allocations: 3.938 kB / 355 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1232, allocations: 38.56 kB / 355 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1232, allocations: 0 / 355 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002586/0.1234, allocations: 89.47 kB / 355.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1235, allocations: 85.09 kB / 355.2 MB, free: 448 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1236, allocations: 132.7 kB / 355.3 MB, free: 308 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1236, allocations: 29.7 kB / 355.3 MB, free: 272 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1237, allocations: 88.08 kB / 355.4 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1237, allocations: 12.03 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.1237, allocations: 0 / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1239, allocations: 318.8 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.286e-05/0.1239, allocations: 15.98 kB / 355.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.124, allocations: 27.44 kB / 355.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.124, allocations: 23.92 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.124, allocations: 7.938 kB / 355.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.1242, allocations: 65.62 kB / 355.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1242, allocations: 12.11 kB / 355.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1242, allocations: 4 kB / 355.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1242, allocations: 3.953 kB / 355.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.1243, allocations: 8 kB / 355.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1243, allocations: 7.984 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.1244, allocations: 7.906 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1244, allocations: 3.984 kB / 355.9 MB, free: 15.64 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: 0 () * 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.327e-05/0.1245, allocations: 117.8 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.1246, allocations: 53.89 kB / 356.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.1246, allocations: 16.25 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1246, allocations: 3.953 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1246, allocations: 0 / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1246, allocations: 4 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.1248, allocations: 169.6 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1248, allocations: 0 / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.1249, allocations: 11.98 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1249, allocations: 4 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.1249, allocations: 0 / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1249, allocations: 0 / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1249, allocations: 7.953 kB / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1251, allocations: 168.3 kB / 356.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1252, allocations: 93 kB / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1252, allocations: 0 / 356.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.1253, allocations: 11.98 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1253, allocations: 0 / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1253, allocations: 7.953 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.498e-05/0.1254, allocations: 107.2 kB / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 356.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1256, allocations: 4 kB / 356.7 MB, free: 14.77 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: 0 () * 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.0001037/0.1257, allocations: 99.25 kB / 356.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1259, allocations: 39.92 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1259, allocations: 0 / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.1259, allocations: 11.98 kB / 356.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1263, allocations: 26.7 kB / 356.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.1267, allocations: 227 kB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1269, allocations: 0.6926 MB / 357.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.127, allocations: 7.438 kB / 357.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.127, allocations: 0 / 357.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002351/0.1293, allocations: 0.7322 MB / 358.5 MB, free: 12.87 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.Sample1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1CalcHelperMain.o] Error 1