Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005558/0.005558, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.00114/0.00114, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.295/1.295, allocations: 222.9 MB / 240.5 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7227/0.7227, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 63.8 kB / 0.5017 GB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4373, allocations: 80.2 MB / 0.58 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001577/0.4389, allocations: 0.6455 MB / 0.5807 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.4392, allocations: 58.94 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.706e-06/0.4392, allocations: 0.5312 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.4392, allocations: 0 / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-06/0.4392, allocations: 1.219 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.4394, allocations: 10.52 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.156e-05/0.4395, allocations: 1.781 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.4395, allocations: 5.719 kB / 0.5807 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.096e-05/0.4395, allocations: 4.562 kB / 0.5807 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.4395, allocations: 5.125 kB / 0.5808 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.825e-06/0.4396, allocations: 0 / 0.5808 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.763e-05/0.4397, allocations: 20.69 kB / 0.5808 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.4397, allocations: 1.156 kB / 0.5808 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.455e-05/0.4397, allocations: 0 / 0.5808 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.102e-05/0.4398, allocations: 15.88 kB / 0.5808 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4398, allocations: 0.875 kB / 0.5808 GB, free: 4.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.4398, allocations: 0 / 0.5808 GB, free: 4.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.4398, allocations: 0.8125 kB / 0.5808 GB, free: 4.102 MB / 430.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.0001867/0.44, allocations: 317.3 kB / 0.5811 GB, free: 3.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.44, allocations: 9.156 kB / 0.5811 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.4403, allocations: 18.78 kB / 0.5811 GB, free: 3.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.551e-05/0.4403, allocations: 161.6 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4403, allocations: 1.062 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.4403, allocations: 1.25 kB / 0.5813 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.4405, allocations: 35.19 kB / 0.5813 GB, free: 3.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.4405, allocations: 4.188 kB / 0.5813 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.4405, allocations: 8.75 kB / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4405, allocations: 0 / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.411e-05/0.4406, allocations: 13.19 kB / 0.5813 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.182e-05/0.4407, allocations: 145.5 kB / 0.5815 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.4408, allocations: 20.97 kB / 0.5815 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.4408, allocations: 18.28 kB / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.4408, allocations: 0 / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.4408, allocations: 36.44 kB / 0.5815 GB, free: 3.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4409, allocations: 3.938 kB / 0.5816 GB, free: 3.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002045/0.4411, allocations: 51.42 kB / 0.5816 GB, free: 3.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.4411, allocations: 53 kB / 0.5816 GB, free: 3.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.508e-05/0.4411, allocations: 97.92 kB / 0.5817 GB, free: 3.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.4411, allocations: 26.41 kB / 0.5818 GB, free: 2.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-06/0.4411, allocations: 80.14 kB / 0.5818 GB, free: 2.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4412, allocations: 5.375 kB / 0.5818 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.4412, allocations: 16.45 kB / 0.5819 GB, free: 2.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.546e-05/0.4412, allocations: 313.2 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.4413, allocations: 4.203 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.4413, allocations: 5.094 kB / 0.5822 GB, free: 2.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.4414, allocations: 18.66 kB / 0.5822 GB, free: 2.562 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4414, allocations: 1.031 kB / 0.5822 GB, free: 2.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.4415, allocations: 42.84 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4415, allocations: 6.156 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4416, allocations: 0.625 kB / 0.5822 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.4416, allocations: 3.938 kB / 0.5822 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.4416, allocations: 9.109 kB / 0.5823 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4416, allocations: 0.75 kB / 0.5823 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.4417, allocations: 2.625 kB / 0.5823 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.4417, allocations: 0.9375 kB / 0.5823 GB, free: 2.52 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.4417, allocations: 112.3 kB / 0.5824 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.4418, allocations: 0 / 0.5824 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.4418, allocations: 8.609 kB / 0.5824 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.4418, allocations: 0 / 0.5824 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4418, allocations: 4.906 kB / 0.5824 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4418, allocations: 0.7031 kB / 0.5824 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.317e-05/0.4418, allocations: 144.9 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4419, allocations: 0.9062 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.4419, allocations: 4.047 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4419, allocations: 1.453 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.4419, allocations: 3.938 kB / 0.5825 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4419, allocations: 5.547 kB / 0.5825 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4419, allocations: 0 / 0.5825 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4421, allocations: 73.08 kB / 0.5826 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.4421, allocations: 78.84 kB / 0.5827 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.4421, allocations: 5.609 kB / 0.5827 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.4421, allocations: 1.516 kB / 0.5827 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-06/0.4421, allocations: 1.562 kB / 0.5827 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.4421, allocations: 5.156 kB / 0.5827 GB, free: 2.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.4422, allocations: 75.89 kB / 0.5828 GB, free: 1.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4422, allocations: 4.031 kB / 0.5828 GB, free: 1.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001651/0.4423, allocations: 5.031 kB / 0.5828 GB, free: 1.938 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.45e-05/0.4424, allocations: 96.28 kB / 0.5829 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.4426, allocations: 19.7 kB / 0.5829 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.4426, allocations: 0 / 0.5829 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.4426, allocations: 7.078 kB / 0.5829 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.4428, allocations: 8 kB / 0.5829 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001903/0.443, allocations: 107.7 kB / 0.583 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.555e-05/0.443, allocations: 0.672 MB / 0.5837 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.4431, allocations: 8.234 kB / 0.5837 GB, free: 1.016 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4431, allocations: 0 / 0.5837 GB, free: 1.016 MB / 430.1 MB Notification: Performance of Templates: time 0.001436/0.4445, allocations: 382.9 kB / 0.584 GB, free: 1 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o] Error 1