Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 99.75 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 179.2 kB / 16.58 MB, free: 6.422 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 12 kB / 0.5076 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2209, allocations: 82.31 MB / 0.588 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001046/0.2221, allocations: 303.1 kB / 0.5883 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.2224, allocations: 47.78 kB / 0.5883 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.2224, allocations: 0 / 0.5883 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2225, allocations: 7.938 kB / 0.5883 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.718e-06/0.2225, allocations: 0 / 0.5883 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.2228, allocations: 11.98 kB / 0.5884 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.308e-05/0.2229, allocations: 4 kB / 0.5884 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.2229, allocations: 0 / 0.5884 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.021e-05/0.223, allocations: 4 kB / 0.5884 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.223, allocations: 3.984 kB / 0.5884 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2231, allocations: 4 kB / 0.5884 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.2232, allocations: 19.97 kB / 0.5884 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.2232, allocations: 0 / 0.5884 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.2233, allocations: 25.7 kB / 0.5884 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.2234, allocations: 11.92 kB / 0.5884 GB, free: 2.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2234, allocations: 4 kB / 0.5884 GB, free: 2.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2234, allocations: 0 / 0.5884 GB, free: 2.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.2234, allocations: 0 / 0.5884 GB, free: 2.535 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004017/0.2238, allocations: 315.4 kB / 0.5887 GB, free: 2.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.2239, allocations: 12.09 kB / 0.5887 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.2243, allocations: 15.97 kB / 0.5888 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2244, allocations: 167 kB / 0.5889 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2244, allocations: 0 / 0.5889 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2245, allocations: 0 / 0.5889 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2247, allocations: 33.69 kB / 0.5889 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2247, allocations: 4 kB / 0.5889 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2247, allocations: 0 / 0.5889 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2247, allocations: 0 / 0.5889 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2248, allocations: 11.98 kB / 0.589 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.225, allocations: 153.6 kB / 0.5891 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.2251, allocations: 22.59 kB / 0.5891 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.24e-05/0.2252, allocations: 12.92 kB / 0.5891 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2252, allocations: 0 / 0.5891 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2252, allocations: 34.55 kB / 0.5892 GB, free: 1.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2253, allocations: 0 / 0.5892 GB, free: 1.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002819/0.2255, allocations: 49.62 kB / 0.5892 GB, free: 1.551 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.2256, allocations: 51.41 kB / 0.5893 GB, free: 1.488 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.2257, allocations: 97.92 kB / 0.5894 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2257, allocations: 25.7 kB / 0.5894 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.2257, allocations: 88.14 kB / 0.5895 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.2258, allocations: 7.891 kB / 0.5895 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.2258, allocations: 0 / 0.5895 GB, free: 1.254 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2259, allocations: 314.8 kB / 0.5898 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.226, allocations: 4 kB / 0.5898 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.2261, allocations: 3.984 kB / 0.5898 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.2261, allocations: 8.062 kB / 0.5898 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2261, allocations: 3.953 kB / 0.5898 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001626/0.2263, allocations: 45.69 kB / 0.5898 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2264, allocations: 7.984 kB / 0.5898 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2264, allocations: 0 / 0.5898 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2264, allocations: 3.938 kB / 0.5899 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.2265, allocations: 4 kB / 0.5899 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2265, allocations: 0 / 0.5899 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.2266, allocations: 4.031 kB / 0.5899 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2266, allocations: 4 kB / 0.5899 GB, free: 0.8438 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001056/0.2267, allocations: 109.8 kB / 0.59 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2268, allocations: 3.953 kB / 0.59 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.2268, allocations: 3.125 kB / 0.59 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2268, allocations: 0 / 0.59 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2268, allocations: 0 / 0.59 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.2269, allocations: 4 kB / 0.59 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.227, allocations: 153.7 kB / 0.5901 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.227, allocations: 4 kB / 0.5901 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.2271, allocations: 7.953 kB / 0.5901 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2271, allocations: 0 / 0.5901 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.2273, allocations: 73.05 kB / 0.5902 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.2274, allocations: 81.09 kB / 0.5903 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.2274, allocations: 3.953 kB / 0.5903 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.2275, allocations: 0 / 0.5903 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.2275, allocations: 0 / 0.5903 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.2275, allocations: 11.94 kB / 0.5903 GB, free: 308 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.2275, allocations: 75.28 kB / 0.5904 GB, free: 232 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2276, allocations: 0 / 0.5904 GB, free: 232 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.2279, allocations: 0 / 0.5904 GB, free: 232 kB / 494.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 (1): * Single equations (assignments): 1 * 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.0001761/0.2281, allocations: 103.3 kB / 0.5905 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.2283, allocations: 11.98 kB / 0.5905 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2283, allocations: 0 / 0.5905 GB, free: 104 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.2283, allocations: 4 kB / 0.5905 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2285, allocations: 4.281 kB / 0.5905 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.2288, allocations: 116.5 kB / 0.5906 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.229, allocations: 0.6731 MB / 0.5913 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.2291, allocations: 11.44 kB / 0.5913 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.2291, allocations: 0 / 0.5913 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.002426/0.2315, allocations: 383.5 kB / 0.5916 GB, free: 14.87 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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 OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o] Error 1