Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 92.16 kB / 16.02 MB, free: 80 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.001949/0.001949, allocations: 173.4 kB / 16.92 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.995/1.995, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006226, allocations: 15.78 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3307, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1197/0.4504, allocations: 112.9 MB / 0.8988 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7094/1.16, allocations: 20.57 MB / 0.9189 GB, free: 39.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006809/1.167, allocations: 94.34 kB / 0.919 GB, free: 39.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006782/1.174, allocations: 1.377 MB / 0.9203 GB, free: 39.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01822/1.192, allocations: 3.639 MB / 0.9239 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01214/1.204, allocations: 2.64 MB / 0.9265 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02459/1.229, allocations: 10.33 MB / 0.9366 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01002/1.239, allocations: 2.204 MB / 0.9387 GB, free: 38.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/1.25, allocations: 2.47 MB / 0.9411 GB, free: 38.19 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007636/1.258, allocations: 2.251 MB / 0.9433 GB, free: 37.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/1.26, allocations: 135.8 kB / 0.9435 GB, free: 37.79 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009212/1.269, allocations: 1.821 MB / 0.9452 GB, free: 37.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002704/1.272, allocations: 0.7406 MB / 0.946 GB, free: 37.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007618/1.279, allocations: 1.637 MB / 0.9476 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/1.29, allocations: 4.193 MB / 0.9517 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.29, allocations: 0 / 0.9517 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.536e-06/1.29, allocations: 0 / 0.9517 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002961/1.29, allocations: 0 / 0.9517 GB, free: 36.48 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01354/1.303, allocations: 3.219 MB / 0.9548 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.304, allocations: 9.844 kB / 0.9548 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/1.308, allocations: 0.6411 MB / 0.9554 GB, free: 34.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007779/1.316, allocations: 2.56 MB / 0.9579 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005864/1.316, allocations: 307 kB / 0.9582 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009926/1.317, allocations: 207.6 kB / 0.9584 GB, free: 32.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008457/1.326, allocations: 2.602 MB / 0.961 GB, free: 32.03 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/1.326, allocations: 11.27 kB / 0.961 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006303/1.327, allocations: 84.41 kB / 0.9611 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/1.327, allocations: 55.31 kB / 0.9611 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006084/1.333, allocations: 2.3 MB / 0.9634 GB, free: 31.33 MB / 0.7169 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.02064/1.354, allocations: 11.47 MB / 0.9746 GB, free: 21.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/1.357, allocations: 1.348 MB / 0.9759 GB, free: 21.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.359, allocations: 0.8507 MB / 0.9767 GB, free: 20.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.36, allocations: 1.32 MB / 0.978 GB, free: 19.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002631/1.363, allocations: 1.098 MB / 0.9791 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 8.436e-06/1.363, allocations: 0 / 0.9791 GB, free: 18.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.007108/1.37, allocations: 2.505 MB / 0.9815 GB, free: 17.15 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.37, allocations: 480.9 kB / 0.982 GB, free: 16.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/1.377, allocations: 2.663 MB / 0.9846 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004623/1.377, allocations: 59.58 kB / 0.9846 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.379, allocations: 1.305 MB / 0.9859 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007143/1.379, allocations: 403.6 kB / 0.9863 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/1.38, allocations: 132.1 kB / 0.9864 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/1.38, allocations: 301.1 kB / 0.9867 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002113/1.382, allocations: 0.8069 MB / 0.9875 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/1.385, allocations: 1.347 MB / 0.9888 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004493/1.389, allocations: 1.944 MB / 0.9907 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/1.389, allocations: 3.969 kB / 0.9907 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006281/1.396, allocations: 2.326 MB / 0.993 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/1.396, allocations: 431.2 kB / 0.9934 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.396, allocations: 11.98 kB / 0.9934 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.902e-05/1.396, allocations: 23.98 kB / 0.9934 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.398, allocations: 423.3 kB / 0.9938 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.387e-05/1.398, allocations: 23.94 kB / 0.9938 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/1.402, allocations: 337.7 kB / 0.9942 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.402, allocations: 75.91 kB / 0.9942 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.402, allocations: 4 kB / 0.9942 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004242/1.406, allocations: 2.055 MB / 0.9963 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.406, allocations: 16.19 kB / 0.9963 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.406, allocations: 16 kB / 0.9963 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/1.408, allocations: 427.3 kB / 0.9967 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-05/1.408, allocations: 27.92 kB / 0.9967 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004/1.412, allocations: 306.1 kB / 0.997 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/1.412, allocations: 71.92 kB / 0.9971 GB, free: 4.738 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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 0.002367/1.415, allocations: 0.6841 MB / 0.9977 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.416, allocations: 280.6 kB / 0.998 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004853/1.421, allocations: 2.174 MB / 1 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/1.421, allocations: 12 kB / 1 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.421, allocations: 0 / 1 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003268/1.424, allocations: 1.73 MB / 1.002 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.437, allocations: 5.264 MB / 1.007 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/1.437, allocations: 8 kB / 1.007 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.439, allocations: 292.3 kB / 1.007 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.817e-05/1.439, allocations: 8 kB / 1.007 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/1.439, allocations: 35.98 kB / 1.007 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-05/1.439, allocations: 19.98 kB / 1.007 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.439, allocations: 11.88 kB / 1.007 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007342/1.446, allocations: 3.195 MB / 1.01 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002404/1.449, allocations: 0.6299 MB / 1.011 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.45, allocations: 35.98 kB / 1.011 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/1.453, allocations: 181 kB / 1.011 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/1.454, allocations: 116.7 kB / 1.011 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.454, allocations: 63.95 kB / 1.011 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004759/1.459, allocations: 1.852 MB / 1.013 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.459, allocations: 0 / 1.013 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007915/1.467, allocations: 1.431 MB / 1.015 GB, free: 2.543 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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 0.00243/1.469, allocations: 0.6409 MB / 1.015 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007949/1.477, allocations: 3.124 MB / 1.018 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/1.477, allocations: 448 / 1.018 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.479, allocations: 0.9172 MB / 1.019 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01232/1.492, allocations: 1.389 MB / 1.021 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.506, allocations: 5.986 MB / 1.026 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/1.509, allocations: 1.751 MB / 1.028 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002138/1.511, allocations: 251.3 kB / 1.028 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of SimCode: time 2.204e-06/1.511, allocations: 7.938 kB / 1.028 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of Templates: time 0.09692/1.608, allocations: 48.67 MB / 1.076 GB, free: 4.207 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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 OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactorCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactorCalcHelperMain.o] Error 1