Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009737, allocations: 96.14 kB / 15.87 MB, free: 16 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.001009/0.001009, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.248/1.248, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7176/0.7176, allocations: 132.2 MB / 422.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 59.59 kB / 0.5017 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.368, allocations: 80.2 MB / 0.58 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.00175/0.3698, allocations: 0.5836 MB / 0.5806 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.3699, allocations: 45.58 kB / 0.5806 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.37, allocations: 0 / 0.5806 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.3701, allocations: 0.7969 kB / 0.5806 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3702, allocations: 5.688 kB / 0.5806 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.31e-05/0.3702, allocations: 6.375 kB / 0.5806 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.429e-05/0.3703, allocations: 14.45 kB / 0.5807 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3704, allocations: 1.891 kB / 0.5807 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3704, allocations: 6.688 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.3705, allocations: 6.781 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3705, allocations: 1.219 kB / 0.5807 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.3705, allocations: 4 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.3706, allocations: 3.234 kB / 0.5807 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.3706, allocations: 10.95 kB / 0.5807 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.911e-05/0.3706, allocations: 8.625 kB / 0.5807 GB, free: 4.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3706, allocations: 0 / 0.5807 GB, free: 4.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3706, allocations: 0.6875 kB / 0.5807 GB, free: 4.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.3706, allocations: 0 / 0.5807 GB, free: 4.113 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.0003275/0.371, allocations: 327.7 kB / 0.581 GB, free: 3.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.371, allocations: 9.531 kB / 0.581 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.3711, allocations: 3.25 kB / 0.581 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3712, allocations: 180.8 kB / 0.5812 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3712, allocations: 4.812 kB / 0.5812 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3712, allocations: 1.594 kB / 0.5812 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.033e-05/0.3713, allocations: 35.77 kB / 0.5812 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3713, allocations: 4.922 kB / 0.5812 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3713, allocations: 0.6562 kB / 0.5812 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3713, allocations: 0 / 0.5812 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.3714, allocations: 3.719 kB / 0.5812 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/0.3715, allocations: 157.2 kB / 0.5814 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.627e-05/0.3715, allocations: 23.38 kB / 0.5814 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.3716, allocations: 8.594 kB / 0.5814 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.3716, allocations: 1.094 kB / 0.5814 GB, free: 3.281 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.3716, allocations: 40 kB / 0.5815 GB, free: 3.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3716, allocations: 0 / 0.5815 GB, free: 3.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.3717, allocations: 39.98 kB / 0.5815 GB, free: 3.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.3718, allocations: 60.47 kB / 0.5816 GB, free: 3.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.3718, allocations: 111.5 kB / 0.5817 GB, free: 3.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.3718, allocations: 27.08 kB / 0.5817 GB, free: 2.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.3719, allocations: 85.94 kB / 0.5818 GB, free: 2.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3719, allocations: 3.906 kB / 0.5818 GB, free: 2.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.3719, allocations: 13.61 kB / 0.5818 GB, free: 2.891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.372, allocations: 316.7 kB / 0.5821 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.372, allocations: 8.234 kB / 0.5821 GB, free: 2.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.372, allocations: 19.45 kB / 0.5821 GB, free: 2.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.3721, allocations: 20.38 kB / 0.5821 GB, free: 2.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3721, allocations: 3.938 kB / 0.5821 GB, free: 2.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.932e-05/0.3722, allocations: 52.84 kB / 0.5822 GB, free: 2.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3722, allocations: 5.969 kB / 0.5822 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3722, allocations: 5.562 kB / 0.5822 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3722, allocations: 0 / 0.5822 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.3723, allocations: 4.828 kB / 0.5822 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3723, allocations: 0.9688 kB / 0.5822 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.3723, allocations: 1.625 kB / 0.5822 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3723, allocations: 1.625 kB / 0.5822 GB, free: 2.484 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.3724, allocations: 109.2 kB / 0.5823 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.3724, allocations: 5.438 kB / 0.5823 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.3725, allocations: 56.92 kB / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3725, allocations: 0.6094 kB / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3725, allocations: 1.438 kB / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3725, allocations: 0 / 0.5824 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.964e-05/0.3726, allocations: 154.7 kB / 0.5825 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3726, allocations: 0 / 0.5825 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.3726, allocations: 8.531 kB / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3726, allocations: 1.344 kB / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3727, allocations: 0 / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3727, allocations: 0.5625 kB / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3727, allocations: 0.9062 kB / 0.5825 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.3728, allocations: 88.91 kB / 0.5826 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.3728, allocations: 84.03 kB / 0.5827 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3728, allocations: 1.438 kB / 0.5827 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3729, allocations: 4.547 kB / 0.5827 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.3729, allocations: 1.453 kB / 0.5827 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3729, allocations: 1.703 kB / 0.5827 GB, free: 1.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.3729, allocations: 92.67 kB / 0.5828 GB, free: 1.859 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3729, allocations: 4 kB / 0.5828 GB, free: 1.855 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001744/0.3731, allocations: 2.656 kB / 0.5828 GB, free: 1.855 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.06e-05/0.3732, allocations: 98.44 kB / 0.5829 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.3733, allocations: 10.81 kB / 0.5829 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3733, allocations: 0 / 0.5829 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.3733, allocations: 11.2 kB / 0.5829 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.3734, allocations: 11.44 kB / 0.5829 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.3737, allocations: 143.7 kB / 0.5831 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.668e-05/0.3738, allocations: 0.6776 MB / 0.5837 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.3738, allocations: 8.969 kB / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3738, allocations: 0 / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of Templates: time 0.001706/0.3755, allocations: 0.5064 MB / 0.5842 GB, free: 0.875 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Examples.Performance.Example5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Examples.Performance.Example5CalcHelperMain.o] Error 1