Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008587, allocations: 90.22 kB / 16.96 MB, free: 6.441 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.0008773/0.0008776, allocations: 183.5 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.5/1.5, allocations: 223.2 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.000291, allocations: 7.938 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001906/0.1288, allocations: 1.249 MB / 353.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.1296, allocations: 455.2 kB / 353.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.1297, allocations: 0 / 353.6 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.848e-05/0.1298, allocations: 7.922 kB / 353.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.1299, allocations: 7.938 kB / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1302, allocations: 35.91 kB / 353.6 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.1303, allocations: 31.92 kB / 353.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.899e-05/0.1304, allocations: 11.98 kB / 353.7 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.1305, allocations: 19.86 kB / 353.7 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.1305, allocations: 15.92 kB / 353.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1306, allocations: 0 / 353.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1306, allocations: 4 kB / 353.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.1306, allocations: 7.984 kB / 353.7 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1307, allocations: 33.64 kB / 353.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.976e-05/0.1308, allocations: 39.94 kB / 353.8 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.1308, allocations: 0 / 353.8 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1308, allocations: 3.938 kB / 353.8 MB, free: 2.066 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1308, allocations: 0 / 353.8 MB, free: 2.066 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005032/0.1313, allocations: 355.3 kB / 354.1 MB, free: 1.672 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1314, allocations: 12.03 kB / 354.1 MB, free: 1.66 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.1314, allocations: 7.859 kB / 354.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1316, allocations: 190.8 kB / 354.3 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1316, allocations: 8 kB / 354.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1316, allocations: 3.984 kB / 354.4 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.1319, allocations: 93.05 kB / 354.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1319, allocations: 0 / 354.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1319, allocations: 0 / 354.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1319, allocations: 0 / 354.4 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.132, allocations: 27.94 kB / 354.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1324, allocations: 261.8 kB / 354.7 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.23e-05/0.1325, allocations: 45.22 kB / 354.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.1326, allocations: 21.77 kB / 354.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1326, allocations: 0 / 354.8 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.1326, allocations: 38.5 kB / 354.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1326, allocations: 4 kB / 354.8 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.1329, allocations: 77.56 kB / 354.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.133, allocations: 81.11 kB / 355 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1331, allocations: 140.5 kB / 355.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1331, allocations: 25.7 kB / 355.2 MB, free: 484 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.1332, allocations: 84.14 kB / 355.2 MB, free: 396 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.1332, allocations: 160 / 355.2 MB, free: 396 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.1332, allocations: 4 kB / 355.2 MB, free: 392 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1334, allocations: 326.7 kB / 355.6 MB, free: 56 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.1334, allocations: 7.984 kB / 355.6 MB, free: 48 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.1334, allocations: 21.72 kB / 355.6 MB, free: 20 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.1335, allocations: 16.05 kB / 355.6 MB, free: 4 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1335, allocations: 0 / 355.6 MB, free: 4 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.1336, allocations: 61.53 kB / 355.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1337, allocations: 8 kB / 355.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1337, allocations: 0 / 355.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1337, allocations: 3.953 kB / 355.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.1338, allocations: 11.98 kB / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1338, allocations: 8.062 kB / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.1338, allocations: 0 / 355.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1338, allocations: 4 kB / 355.7 MB, free: 15.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.802e-05/0.1339, allocations: 121.8 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.134, allocations: 37.55 kB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.134, allocations: 11.88 kB / 355.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.134, allocations: 0 / 355.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1341, allocations: 7.953 kB / 355.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1341, allocations: 8.016 kB / 355.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1342, allocations: 161.7 kB / 356 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1343, allocations: 3.984 kB / 356 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.1343, allocations: 8 kB / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1343, allocations: 0 / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1343, allocations: 0 / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1343, allocations: 0 / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1343, allocations: 0 / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1345, allocations: 172.2 kB / 356.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1346, allocations: 89.09 kB / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1346, allocations: 0 / 356.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.088e-05/0.1347, allocations: 4 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1347, allocations: 0 / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1347, allocations: 4 kB / 356.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.1348, allocations: 115.2 kB / 356.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1348, allocations: 0 / 356.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.135, allocations: 4 kB / 356.4 MB, free: 15.06 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 (2): * Single equations (assignments): 2 * 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.0001043/0.1351, allocations: 99.25 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1353, allocations: 27.86 kB / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1353, allocations: 4.125 kB / 356.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.1353, allocations: 15.98 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1357, allocations: 10.78 kB / 356.6 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.136, allocations: 211.3 kB / 356.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1363, allocations: 0.6809 MB / 357.5 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.1363, allocations: 19.42 kB / 357.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1363, allocations: 0 / 357.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Templates: time 0.00216/0.1385, allocations: 0.6804 MB / 358.2 MB, free: 13.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClockedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClockedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClockedCalcHelperMain.o] Error 1