Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 186.2 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4662/0.4662, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.4 MB / 342.7 MB, free: 5.129 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009282, allocations: 90.22 kB / 415.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1786/0.1796, allocations: 78.44 MB / 493.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.5622, allocations: 72.31 MB / 0.553 GB, free: 44.86 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6524/1.215, allocations: 382 MB / 0.9261 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/1.215, allocations: 93.38 kB / 0.9262 GB, free: 6.516 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 2.941/4.156, allocations: 0.8783 GB / 1.804 GB, free: 78.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/4.156, allocations: 7.781 kB / 1.804 GB, free: 78.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/4.157, allocations: 248.5 kB / 1.805 GB, free: 78.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/4.16, allocations: 1.727 MB / 1.806 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/4.16, allocations: 31.78 kB / 1.806 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/4.16, allocations: 59 kB / 1.806 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001251/4.162, allocations: 0.7048 MB / 1.807 GB, free: 76.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/4.163, allocations: 0.8883 MB / 1.808 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/4.163, allocations: 0 / 1.808 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/4.163, allocations: 10.59 kB / 1.808 GB, free: 76.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.916e-05/4.163, allocations: 40.14 kB / 1.808 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/4.169, allocations: 5.122 MB / 1.813 GB, free: 72.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/4.17, allocations: 482 kB / 1.814 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/4.17, allocations: 261.8 kB / 1.814 GB, free: 71.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/4.171, allocations: 0.8311 MB / 1.815 GB, free: 70.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/4.171, allocations: 40.56 kB / 1.815 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.434e-06/4.171, allocations: 0 / 1.815 GB, free: 70.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.004631/4.176, allocations: 1.053 MB / 1.816 GB, free: 70.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/4.176, allocations: 57.75 kB / 1.816 GB, free: 70.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/4.177, allocations: 0.8883 MB / 1.817 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/4.177, allocations: 27.73 kB / 1.817 GB, free: 69.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/4.177, allocations: 446.9 kB / 1.817 GB, free: 69.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/4.177, allocations: 201.8 kB / 1.817 GB, free: 69.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/4.177, allocations: 2.625 kB / 1.817 GB, free: 69.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.622e-05/4.178, allocations: 336 kB / 1.818 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/4.178, allocations: 195.2 kB / 1.818 GB, free: 68.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/4.178, allocations: 414.6 kB / 1.818 GB, free: 68.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/4.179, allocations: 286.5 kB / 1.818 GB, free: 68.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/4.179, allocations: 3.094 kB / 1.818 GB, free: 68.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004261/4.183, allocations: 1.181 MB / 1.82 GB, free: 67.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/4.184, allocations: 1.321 MB / 1.821 GB, free: 66.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/4.184, allocations: 9.438 kB / 1.821 GB, free: 66.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/4.184, allocations: 127.8 kB / 1.821 GB, free: 66.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/4.185, allocations: 158 kB / 1.821 GB, free: 66.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/4.185, allocations: 0.7112 MB / 1.822 GB, free: 65.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/4.187, allocations: 121.2 kB / 1.822 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/4.187, allocations: 39.98 kB / 1.822 GB, free: 65.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-06/4.187, allocations: 0 / 1.822 GB, free: 65.62 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/4.191, allocations: 1.039 MB / 1.823 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/4.191, allocations: 4 kB / 1.823 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003825/4.191, allocations: 127.2 kB / 1.823 GB, free: 64.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/4.192, allocations: 163 kB / 1.823 GB, free: 64.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005477/4.192, allocations: 0.7056 MB / 1.824 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/4.193, allocations: 119.8 kB / 1.824 GB, free: 63.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/4.194, allocations: 31.98 kB / 1.824 GB, free: 63.48 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002361/4.194, allocations: 119.2 kB / 1.824 GB, free: 63.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/4.194, allocations: 122.5 kB / 1.824 GB, free: 63.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/4.198, allocations: 1.187 MB / 1.826 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/4.198, allocations: 8 kB / 1.826 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/4.198, allocations: 0 / 1.826 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003778/4.202, allocations: 1.095 MB / 1.827 GB, free: 61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/4.209, allocations: 2.385 MB / 1.829 GB, free: 58.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/4.209, allocations: 4 kB / 1.829 GB, free: 58.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/4.209, allocations: 128.1 kB / 1.829 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004014/4.21, allocations: 126.2 kB / 1.829 GB, free: 58.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/4.21, allocations: 9.281 kB / 1.829 GB, free: 58.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005423/4.21, allocations: 0.6979 MB / 1.83 GB, free: 57.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/4.21, allocations: 7.938 kB / 1.83 GB, free: 57.62 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004812/4.215, allocations: 1.764 MB / 1.832 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005272/4.22, allocations: 2.525 MB / 1.834 GB, free: 53.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/4.221, allocations: 311.3 kB / 1.834 GB, free: 52.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/4.221, allocations: 8 kB / 1.834 GB, free: 52.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007997/4.222, allocations: 71.92 kB / 1.834 GB, free: 52.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/4.222, allocations: 48.28 kB / 1.834 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/4.222, allocations: 27.98 kB / 1.834 GB, free: 52.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009421/4.223, allocations: 0.6815 MB / 1.835 GB, free: 51.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003669/4.227, allocations: 1.025 MB / 1.836 GB, free: 50.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/4.228, allocations: 0.7823 MB / 1.837 GB, free: 50.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001719/4.23, allocations: 0.9292 MB / 1.838 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/4.23, allocations: 0 / 1.838 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000522/4.23, allocations: 322.1 kB / 1.838 GB, free: 49.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/4.233, allocations: 0.5281 MB / 1.839 GB, free: 48.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/4.237, allocations: 1.757 MB / 1.84 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008253/4.237, allocations: 1.307 MB / 1.842 GB, free: 45.36 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/4.237, allocations: 0 / 1.842 GB, free: 45.36 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)