Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001008, allocations: 92.28 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.001266/0.001267, allocations: 177.6 kB / 17.84 MB, free: 5.621 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.442/1.442, allocations: 223.2 MB / 241.8 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002897, allocations: 7.938 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1183, allocations: 50.43 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002101/0.1205, allocations: 1.19 MB / 353.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.1213, allocations: 416.1 kB / 353.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1213, allocations: 4 kB / 353.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.1214, allocations: 3.938 kB / 353.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.692e-05/0.1215, allocations: 3.938 kB / 353.5 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1217, allocations: 23.97 kB / 353.5 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.1218, allocations: 31.86 kB / 353.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.122, allocations: 15.92 kB / 353.6 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.1221, allocations: 15.92 kB / 353.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.1221, allocations: 15.92 kB / 353.6 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1222, allocations: 4 kB / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.1222, allocations: 0 / 353.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.1222, allocations: 7.938 kB / 353.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.1222, allocations: 25.7 kB / 353.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.131e-05/0.1223, allocations: 27.95 kB / 353.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1223, allocations: 0 / 353.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.1224, allocations: 0 / 353.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1224, allocations: 0 / 353.6 MB, free: 2.207 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.00046/0.1228, allocations: 347.4 kB / 354 MB, free: 1.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1229, allocations: 12.03 kB / 354 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.1229, allocations: 7.953 kB / 354 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.1231, allocations: 186.8 kB / 354.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1231, allocations: 0 / 354.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1231, allocations: 4 kB / 354.2 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.1235, allocations: 123.3 kB / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1235, allocations: 0 / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1235, allocations: 0 / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1235, allocations: 0 / 354.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.1236, allocations: 31.88 kB / 354.3 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.1238, allocations: 157.7 kB / 354.5 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.1239, allocations: 70.48 kB / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.124, allocations: 28.88 kB / 354.6 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.124, allocations: 4.031 kB / 354.6 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1241, allocations: 34.56 kB / 354.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1241, allocations: 0 / 354.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002359/0.1243, allocations: 81.61 kB / 354.7 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.1244, allocations: 55.41 kB / 354.8 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.1245, allocations: 113.7 kB / 354.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1245, allocations: 29.7 kB / 354.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.1245, allocations: 88.14 kB / 355 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.1246, allocations: 7.984 kB / 355 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.1246, allocations: 0 / 355 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1247, allocations: 310.8 kB / 355.3 MB, free: 340 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.1247, allocations: 4 kB / 355.3 MB, free: 336 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.1247, allocations: 27.44 kB / 355.3 MB, free: 296 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1248, allocations: 15.92 kB / 355.4 MB, free: 280 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1248, allocations: 0 / 355.4 MB, free: 280 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.813e-05/0.1248, allocations: 57.55 kB / 355.4 MB, free: 216 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1249, allocations: 4 kB / 355.4 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1249, allocations: 4 kB / 355.4 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1249, allocations: 3.984 kB / 355.4 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.684e-05/0.125, allocations: 12 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.125, allocations: 128 / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.125, allocations: 7.953 kB / 355.4 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.125, allocations: 4 kB / 355.4 MB, free: 180 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: 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 7.903e-05/0.1251, allocations: 113.8 kB / 355.6 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1252, allocations: 65.58 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.1253, allocations: 11.91 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1253, allocations: 0 / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.1253, allocations: 0 / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1254, allocations: 4 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1255, allocations: 161.6 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1255, allocations: 0 / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.1256, allocations: 8 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1256, allocations: 3.984 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1256, allocations: 7.938 kB / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1256, allocations: 0 / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1256, allocations: 0 / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1257, allocations: 101 kB / 355.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1258, allocations: 85.02 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1258, allocations: 0 / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.1259, allocations: 7.984 kB / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-06/0.1259, allocations: 0 / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.1259, allocations: 0 / 356 MB, free: 15.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.1259, allocations: 91.59 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1259, allocations: 4 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000179/0.1261, allocations: 4 kB / 356.1 MB, free: 15.41 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: 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.0001077/0.1262, allocations: 103.2 kB / 356.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1264, allocations: 28.3 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1264, allocations: 0 / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1264, allocations: 0 / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1266, allocations: 31.45 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1269, allocations: 174.4 kB / 356.4 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1271, allocations: 0.6809 MB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.1272, allocations: 11.44 kB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1272, allocations: 0 / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Templates: time 0.001939/0.1291, allocations: 0.5847 MB / 357.7 MB, free: 13.74 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSineCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSineCalcHelperMain.o] Error 1