Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.001054/0.001054, allocations: 190.5 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4682/0.4682, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.334/1.334, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0009355/0.0009357, allocations: 101 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1752/0.1762, allocations: 78.45 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.5803, allocations: 72.3 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6864/1.267, allocations: 382 MB / 0.9261 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.267, allocations: 89.83 kB / 0.9261 GB, free: 9.172 MB / 0.5886 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 3.018/4.285, allocations: 0.8781 GB / 1.804 GB, free: 72.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/4.286, allocations: 14.64 kB / 1.804 GB, free: 72.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/4.287, allocations: 244.6 kB / 1.805 GB, free: 72.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/4.292, allocations: 1.719 MB / 1.806 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/4.292, allocations: 32.88 kB / 1.806 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/4.292, allocations: 61.97 kB / 1.806 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/4.294, allocations: 0.704 MB / 1.807 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/4.296, allocations: 0.8866 MB / 1.808 GB, free: 71.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/4.296, allocations: 3.125 kB / 1.808 GB, free: 71.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/4.296, allocations: 0 / 1.808 GB, free: 71.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/4.296, allocations: 47.28 kB / 1.808 GB, free: 71.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007894/4.304, allocations: 5.055 MB / 1.813 GB, free: 69.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009204/4.305, allocations: 470.3 kB / 1.813 GB, free: 69.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/4.306, allocations: 250.1 kB / 1.814 GB, free: 69.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000487/4.306, allocations: 0.8307 MB / 1.814 GB, free: 68.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/4.306, allocations: 39.72 kB / 1.814 GB, free: 68.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=59): time 4.037e-06/4.306, allocations: 0 / 1.814 GB, free: 68.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59): time 0.00443/4.311, allocations: 1.048 MB / 1.815 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/4.311, allocations: 59.62 kB / 1.815 GB, free: 68.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/4.312, allocations: 0.8864 MB / 1.816 GB, free: 67.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/4.312, allocations: 31.02 kB / 1.816 GB, free: 67.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/4.313, allocations: 443.2 kB / 1.817 GB, free: 67.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/4.313, allocations: 202.7 kB / 1.817 GB, free: 67.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/4.313, allocations: 2.25 kB / 1.817 GB, free: 67.49 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/4.313, allocations: 331.6 kB / 1.817 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/4.313, allocations: 192 kB / 1.817 GB, free: 67.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/4.314, allocations: 427.8 kB / 1.818 GB, free: 66.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/4.315, allocations: 285.5 kB / 1.818 GB, free: 66.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/4.315, allocations: 3.5 kB / 1.818 GB, free: 66.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004391/4.319, allocations: 1.166 MB / 1.819 GB, free: 66.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/4.319, allocations: 1.403 MB / 1.821 GB, free: 65.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/4.319, allocations: 7.297 kB / 1.821 GB, free: 65.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/4.32, allocations: 109.4 kB / 1.821 GB, free: 65.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/4.321, allocations: 161.6 kB / 1.821 GB, free: 65.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/4.322, allocations: 0.8021 MB / 1.822 GB, free: 64.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/4.323, allocations: 126.1 kB / 1.822 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/4.323, allocations: 34.97 kB / 1.822 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/4.323, allocations: 3.656 kB / 1.822 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003969/4.327, allocations: 1.027 MB / 1.823 GB, free: 64.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/4.327, allocations: 10.33 kB / 1.823 GB, free: 64.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/4.328, allocations: 113.1 kB / 1.823 GB, free: 64.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/4.328, allocations: 162 kB / 1.823 GB, free: 64.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/4.329, allocations: 0.7983 MB / 1.824 GB, free: 63.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/4.331, allocations: 111.3 kB / 1.824 GB, free: 63.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/4.331, allocations: 34.7 kB / 1.824 GB, free: 63.91 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003125/4.331, allocations: 123.7 kB / 1.824 GB, free: 63.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/4.332, allocations: 113.8 kB / 1.824 GB, free: 63.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004527/4.336, allocations: 1.179 MB / 1.825 GB, free: 63.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/4.336, allocations: 15.03 kB / 1.825 GB, free: 63.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/4.336, allocations: 0 / 1.825 GB, free: 63.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/4.34, allocations: 1.071 MB / 1.826 GB, free: 63.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/4.347, allocations: 2.37 MB / 1.829 GB, free: 62.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/4.347, allocations: 0 / 1.829 GB, free: 62.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/4.348, allocations: 128.4 kB / 1.829 GB, free: 62.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/4.348, allocations: 105.5 kB / 1.829 GB, free: 62.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/4.348, allocations: 9 kB / 1.829 GB, free: 62.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/4.352, allocations: 2.122 MB / 1.831 GB, free: 60.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/4.352, allocations: 7.812 kB / 1.831 GB, free: 60.55 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004626/4.356, allocations: 1.736 MB / 1.833 GB, free: 59.68 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005374/4.362, allocations: 2.485 MB / 1.835 GB, free: 58.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008591/4.363, allocations: 307.7 kB / 1.836 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/4.363, allocations: 17.75 kB / 1.836 GB, free: 58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/4.364, allocations: 71.58 kB / 1.836 GB, free: 57.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/4.364, allocations: 41.27 kB / 1.836 GB, free: 57.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/4.365, allocations: 36.64 kB / 1.836 GB, free: 57.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001441/4.366, allocations: 0.6749 MB / 1.836 GB, free: 57.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005209/4.371, allocations: 1.033 MB / 1.837 GB, free: 57.21 MB / 0.6355 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001647/4.373, allocations: 0.7878 MB / 1.838 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002657/4.376, allocations: 1.063 MB / 1.839 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/4.376, allocations: 0 / 1.839 GB, free: 56.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/4.377, allocations: 494 kB / 1.84 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/4.38, allocations: 0.5464 MB / 1.84 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/4.384, allocations: 1.746 MB / 1.842 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/4.386, allocations: 1.305 MB / 1.843 GB, free: 54.69 MB / 0.6355 GB Notification: Performance of SimCode: time 8.02e-07/4.386, allocations: 0 / 1.843 GB, free: 54.69 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)