Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000856/0.0008559, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008919/0.0008921, allocations: 183.3 kB / 16.92 MB, free: 6.777 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7173/0.7173, allocations: 132.3 MB / 424.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003781, allocations: 8 kB / 0.5046 GB, free: 3.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4954, allocations: 81.59 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1183/0.6137, allocations: 123.3 MB / 0.7047 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.6354, allocations: 15.36 MB / 0.7197 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.6386, allocations: 63.56 kB / 0.7198 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.6413, allocations: 0.7848 MB / 0.7206 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.6489, allocations: 2.397 MB / 0.7229 GB, free: 2.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006246/0.6552, allocations: 1.92 MB / 0.7248 GB, free: 208 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.6656, allocations: 6.013 MB / 0.7307 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.6681, allocations: 1.376 MB / 0.732 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.6714, allocations: 1.481 MB / 0.7334 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.6843, allocations: 1.244 MB / 0.7347 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004602/0.6848, allocations: 72 kB / 0.7347 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004999/0.6898, allocations: 1.798 MB / 0.7365 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.6903, allocations: 362.3 kB / 0.7368 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.6919, allocations: 0.9461 MB / 0.7378 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.6957, allocations: 2.786 MB / 0.7405 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6958, allocations: 0 / 0.7405 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6958, allocations: 0 / 0.7405 GB, free: 60 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.952e-05/0.6958, allocations: 0 / 0.7405 GB, free: 60 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00389/0.6997, allocations: 2.063 MB / 0.7425 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6998, allocations: 15.91 kB / 0.7425 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.7051, allocations: 0.755 MB / 0.7432 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.7079, allocations: 1.662 MB / 0.7449 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.7081, allocations: 128.1 kB / 0.745 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.7083, allocations: 128 kB / 0.7451 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/0.7122, allocations: 1.751 MB / 0.7468 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.7122, allocations: 3.938 kB / 0.7468 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7123, allocations: 56 kB / 0.7469 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.7124, allocations: 43.94 kB / 0.7469 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/0.7169, allocations: 1.531 MB / 0.7484 GB, free: 7.684 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009993/0.727, allocations: 7.564 MB / 0.7558 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/0.7309, allocations: 1.19 MB / 0.757 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.7328, allocations: 0.6038 MB / 0.7576 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.7341, allocations: 1.279 MB / 0.7588 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/0.7363, allocations: 0.703 MB / 0.7595 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 5.981e-06/0.7363, allocations: 0 / 0.7595 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.01777/0.7541, allocations: 3.265 MB / 0.7627 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/0.7542, allocations: 141.1 kB / 0.7628 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.7561, allocations: 1.282 MB / 0.7641 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.7563, allocations: 45.7 kB / 0.7641 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006595/0.757, allocations: 0.7271 MB / 0.7648 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.7573, allocations: 276 kB / 0.7651 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.7574, allocations: 81.67 kB / 0.7652 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7575, allocations: 341.9 kB / 0.7655 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.7594, allocations: 0.5328 MB / 0.766 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.7615, allocations: 0.8139 MB / 0.7668 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003771/0.7653, allocations: 1.26 MB / 0.768 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7653, allocations: 0 / 0.768 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005141/0.7704, allocations: 1.683 MB / 0.7697 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.7706, allocations: 273.2 kB / 0.7699 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7707, allocations: 8 kB / 0.7699 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.7726, allocations: 0.5605 MB / 0.7705 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.7739, allocations: 255.5 kB / 0.7707 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.7759, allocations: 1.187 MB / 0.7719 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.778, allocations: 230.7 kB / 0.7721 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.7781, allocations: 59.94 kB / 0.7722 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.7781, allocations: 8 kB / 0.7722 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004583/0.7827, allocations: 1.508 MB / 0.7736 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.7828, allocations: 8.125 kB / 0.7737 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.7846, allocations: 0.5701 MB / 0.7742 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.7858, allocations: 251.6 kB / 0.7745 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.7877, allocations: 1.17 MB / 0.7756 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.7898, allocations: 227 kB / 0.7758 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.79, allocations: 51.95 kB / 0.7759 GB, free: 10.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009632/0.7909, allocations: 486.6 kB / 0.7763 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.7912, allocations: 146.2 kB / 0.7765 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.8036, allocations: 2.165 MB / 0.7786 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.272e-05/0.8036, allocations: 8 kB / 0.7786 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8037, allocations: 4 kB / 0.7786 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0121/0.8158, allocations: 2.005 MB / 0.7805 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/0.8249, allocations: 3.68 MB / 0.7841 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.825, allocations: 0 / 0.7841 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.8261, allocations: 179.9 kB / 0.7843 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.8281, allocations: 0.5512 MB / 0.7849 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.8282, allocations: 39.94 kB / 0.7849 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.8303, allocations: 1.166 MB / 0.786 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.8303, allocations: 8 kB / 0.786 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.8355, allocations: 1.616 MB / 0.7876 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.8366, allocations: 406.9 kB / 0.788 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/0.8371, allocations: 20 kB / 0.788 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/0.8392, allocations: 162.3 kB / 0.7882 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.8393, allocations: 60.52 kB / 0.7882 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.8395, allocations: 55.92 kB / 0.7883 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001699/0.8412, allocations: 0.8711 MB / 0.7891 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8412, allocations: 3.938 kB / 0.7891 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00306/0.8442, allocations: 0.9627 MB / 0.7901 GB, free: 11.54 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/0.8464, allocations: 0.8727 MB / 0.7909 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006724/0.8531, allocations: 2.049 MB / 0.7929 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8532, allocations: 3.938 kB / 0.7929 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.8552, allocations: 0.6399 MB / 0.7936 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004574/0.8598, allocations: 0.7628 MB / 0.7943 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007143/0.867, allocations: 3.42 MB / 0.7976 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.8681, allocations: 1.259 MB / 0.7989 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/0.8687, allocations: 167.3 kB / 0.799 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.8687, allocations: 0 / 0.799 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.3859/1.255, allocations: 37.02 MB / 0.8352 GB, free: 205.5 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWaterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Calibration.ScrollWaterToWaterCalcHelperMain.o] Error 1