Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 102.6 kB / 15.71 MB, free: 460 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.001852/0.001852, allocations: 170.5 kB / 16.58 MB, free: 6.398 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.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.724/2.724, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.011, allocations: 142.3 MB / 0.9544 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07552/1.087, allocations: 57.75 MB / 1.011 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.024/1.111, allocations: 12.76 MB / 1.023 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/1.115, allocations: 59.62 kB / 1.023 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/1.119, allocations: 0.6911 MB / 1.024 GB, free: 8.746 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008676/1.127, allocations: 1.864 MB / 1.026 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005972/1.133, allocations: 1.202 MB / 1.027 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.144, allocations: 4.7 MB / 1.032 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/1.148, allocations: 1.062 MB / 1.033 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004348/1.152, allocations: 1.33 MB / 1.034 GB, free: 14.54 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/1.155, allocations: 1.171 MB / 1.035 GB, free: 13.37 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0007389/1.156, allocations: 75.94 kB / 1.035 GB, free: 13.29 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/1.16, allocations: 0.9589 MB / 1.036 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/1.162, allocations: 390.5 kB / 1.036 GB, free: 11.95 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/1.163, allocations: 384.8 kB / 1.037 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004554/1.167, allocations: 2.293 MB / 1.039 GB, free: 9.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.167, allocations: 4 kB / 1.039 GB, free: 9.266 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.345e-06/1.167, allocations: 0 / 1.039 GB, free: 9.266 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001188/1.168, allocations: 4 kB / 1.039 GB, free: 9.262 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006376/1.174, allocations: 2.045 MB / 1.041 GB, free: 7.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.174, allocations: 8.031 kB / 1.041 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.176, allocations: 345.4 kB / 1.041 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/1.182, allocations: 1.401 MB / 1.043 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/1.182, allocations: 153.5 kB / 1.043 GB, free: 5.195 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004453/1.183, allocations: 104 kB / 1.043 GB, free: 5.094 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/1.187, allocations: 1.484 MB / 1.044 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/1.187, allocations: 0 / 1.044 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/1.187, allocations: 47.98 kB / 1.044 GB, free: 3.473 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/1.187, allocations: 36 kB / 1.045 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/1.191, allocations: 1.436 MB / 1.046 GB, free: 2 MB / 0.795 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.01057/1.202, allocations: 6.644 MB / 1.052 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.204, allocations: 1.222 MB / 1.054 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/1.205, allocations: 0.6001 MB / 1.054 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.206, allocations: 1.149 MB / 1.055 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/1.206, allocations: 47.22 kB / 1.055 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 2.886e-06/1.206, allocations: 0 / 1.055 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=77): time 0.004169/1.21, allocations: 1.734 MB / 1.057 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.21, allocations: 115.5 kB / 1.057 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/1.213, allocations: 1.373 MB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.213, allocations: 41.7 kB / 1.059 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006733/1.213, allocations: 0.7279 MB / 1.059 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/1.214, allocations: 264.2 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/1.214, allocations: 12 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001769/1.214, allocations: 345.9 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.215, allocations: 0.5289 MB / 1.06 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.217, allocations: 0.7659 MB / 1.061 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.218, allocations: 0.5729 MB / 1.062 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.218, allocations: 4 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003321/1.221, allocations: 1.436 MB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002112/1.221, allocations: 240.9 kB / 1.063 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.221, allocations: 8 kB / 1.063 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.221, allocations: 8 kB / 1.063 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.223, allocations: 299.6 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/1.223, allocations: 15.94 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.224, allocations: 222.9 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/1.224, allocations: 35.98 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.224, allocations: 4 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/1.227, allocations: 1.285 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.227, allocations: 4 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/1.227, allocations: 8 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.228, allocations: 295.7 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.228, allocations: 11.94 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/1.23, allocations: 219 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/1.23, allocations: 35.98 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0009594/1.231, allocations: 460.8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/1.231, allocations: 154.1 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00327/1.234, allocations: 1.575 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.234, allocations: 7.984 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.234, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002552/1.237, allocations: 1.203 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/1.243, allocations: 3.168 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.243, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/1.244, allocations: 216 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/1.244, allocations: 8 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.244, allocations: 27.98 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.276e-05/1.244, allocations: 7.938 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.244, allocations: 8 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/1.248, allocations: 2.197 MB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000867/1.249, allocations: 402.8 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.25, allocations: 20.06 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.251, allocations: 163.7 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.251, allocations: 84.34 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.251, allocations: 43.97 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001573/1.253, allocations: 0.9832 MB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.253, allocations: 0 / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002321/1.255, allocations: 0.803 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009618/1.256, allocations: 454.4 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004358/1.26, allocations: 1.943 MB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.26, allocations: 4 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.262, allocations: 0.6679 MB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003492/1.265, allocations: 0.673 MB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/1.271, allocations: 3.325 MB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.272, allocations: 1.269 MB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/1.272, allocations: 131.4 kB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 2.725e-06/1.272, allocations: 0 / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of Templates: time 0.05024/1.323, allocations: 26.94 MB / 1.111 GB, free: 13.61 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversibleCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversibleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversibleCalcHelperMain.o] Error 1