Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008026/0.0008028, allocations: 92.17 kB / 16.95 MB, free: 5.605 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.0008634/0.0008634, allocations: 184.5 kB / 17.85 MB, free: 5.277 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.469/1.469, allocations: 223.2 MB / 241.9 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003251, allocations: 4 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001788/0.1142, allocations: 1.166 MB / 353 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.1145, allocations: 104.4 kB / 353.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.1146, allocations: 0 / 353.1 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1146, allocations: 3.938 kB / 353.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.574e-05/0.1147, allocations: 4 kB / 353.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1149, allocations: 27.41 kB / 353.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.348e-05/0.115, allocations: 23.94 kB / 353.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.1151, allocations: 15.97 kB / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.1151, allocations: 7.984 kB / 353.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1152, allocations: 7.938 kB / 353.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1152, allocations: 7.938 kB / 353.2 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.1152, allocations: 0 / 353.2 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1153, allocations: 7.922 kB / 353.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1153, allocations: 29.7 kB / 353.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.179e-05/0.1154, allocations: 15.97 kB / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1154, allocations: 0 / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1154, allocations: 0 / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1154, allocations: 0 / 353.3 MB, free: 2.582 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.0004221/0.1158, allocations: 339.5 kB / 353.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1159, allocations: 12.03 kB / 353.6 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1159, allocations: 11.84 kB / 353.6 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1161, allocations: 171 kB / 353.8 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1161, allocations: 4 kB / 353.8 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1161, allocations: 4 kB / 353.8 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1165, allocations: 111.3 kB / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.1165, allocations: 0 / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1165, allocations: 0 / 353.9 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1165, allocations: 4 kB / 353.9 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.1166, allocations: 27.94 kB / 354 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.1167, allocations: 157.7 kB / 354.1 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.1169, allocations: 58.5 kB / 354.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.117, allocations: 28.92 kB / 354.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.117, allocations: 0 / 354.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.117, allocations: 34.56 kB / 354.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.117, allocations: 0 / 354.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.1173, allocations: 73.58 kB / 354.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.1173, allocations: 67.39 kB / 354.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.1174, allocations: 101.8 kB / 354.5 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1174, allocations: 29.7 kB / 354.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1175, allocations: 84.12 kB / 354.6 MB, free: 1.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-06/0.1175, allocations: 3.938 kB / 354.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.1175, allocations: 4 kB / 354.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1177, allocations: 314.8 kB / 354.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.1177, allocations: 4 kB / 354.9 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.1177, allocations: 35.42 kB / 354.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.1177, allocations: 4 kB / 354.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1177, allocations: 3.938 kB / 354.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.017e-05/0.1178, allocations: 49.64 kB / 355 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1178, allocations: 10.48 kB / 355 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1178, allocations: 8.125 kB / 355 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1179, allocations: 0 / 355 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.1179, allocations: 11.94 kB / 355 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1179, allocations: 0 / 355 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.1179, allocations: 4 kB / 355 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.118, allocations: 7.953 kB / 355 MB, free: 0.6055 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: 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.051e-05/0.118, allocations: 109.8 kB / 355.1 MB, free: 500 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1182, allocations: 73.86 kB / 355.2 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.1182, allocations: 3.906 kB / 355.2 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1182, allocations: 4.031 kB / 355.2 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1182, allocations: 3.938 kB / 355.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1182, allocations: 0 / 355.2 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1184, allocations: 157.6 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1184, allocations: 256 / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.1184, allocations: 11.98 kB / 355.4 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1184, allocations: 8 kB / 355.4 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1185, allocations: 0 / 355.4 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1185, allocations: 4 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1185, allocations: 0 / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1186, allocations: 89.06 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1187, allocations: 85.02 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.1187, allocations: 0 / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.1187, allocations: 4 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-06/0.1188, allocations: 7.984 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1188, allocations: 0 / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.1188, allocations: 83.28 kB / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.1188, allocations: 0 / 355.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.119, allocations: 7.938 kB / 355.7 MB, free: 15.86 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.0001088/0.1191, allocations: 99.25 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1193, allocations: 28.11 kB / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1193, allocations: 0 / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.1193, allocations: 0 / 355.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.1195, allocations: 31.88 kB / 355.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.1198, allocations: 146.4 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1201, allocations: 0.6849 MB / 356.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.1201, allocations: 19.44 kB / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1201, allocations: 0 / 356.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Templates: time 0.001959/0.1221, allocations: 0.5275 MB / 357.2 MB, free: 14.26 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStepCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStepCalcHelperMain.o] Error 1