Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.001144/0.001144, allocations: 184.3 kB / 7.803 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.4633/0.4633, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.326/1.326, allocations: 221.4 MB / 342.8 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.001049/0.001049, allocations: 94.73 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.186/0.187, allocations: 78.45 MB / 493.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.5635, allocations: 72.3 MB / 0.553 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6231/1.187, allocations: 386.1 MB / 0.93 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/1.187, allocations: 94.38 kB / 0.9301 GB, free: 4.082 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 2.12/3.307, allocations: 0.6518 GB / 1.582 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/3.307, allocations: 5.625 kB / 1.582 GB, free: 72.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/3.31, allocations: 0.5354 MB / 1.582 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/3.314, allocations: 1.323 MB / 1.584 GB, free: 71.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/3.315, allocations: 112.9 kB / 1.584 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/3.315, allocations: 46.97 kB / 1.584 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/3.317, allocations: 0.6522 MB / 1.585 GB, free: 71.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/3.318, allocations: 0.773 MB / 1.585 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/3.318, allocations: 3.938 kB / 1.585 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/3.318, allocations: 3.156 kB / 1.585 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/3.318, allocations: 27.19 kB / 1.585 GB, free: 70.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006901/3.325, allocations: 4.719 MB / 1.59 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/3.326, allocations: 0.5493 MB / 1.59 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/3.327, allocations: 271 kB / 1.591 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/3.328, allocations: 0.8617 MB / 1.592 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/3.328, allocations: 44 kB / 1.592 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/3.328, allocations: 0 / 1.592 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.002086/3.33, allocations: 0.7263 MB / 1.592 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/3.33, allocations: 58 kB / 1.592 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/3.331, allocations: 0.6805 MB / 1.593 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/3.331, allocations: 29.7 kB / 1.593 GB, free: 64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/3.331, allocations: 371.8 kB / 1.593 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/3.331, allocations: 173.4 kB / 1.594 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/3.331, allocations: 0 / 1.594 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.511e-05/3.331, allocations: 326 kB / 1.594 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/3.332, allocations: 204.5 kB / 1.594 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/3.332, allocations: 412.1 kB / 1.594 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/3.333, allocations: 281.7 kB / 1.595 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/3.333, allocations: 0 / 1.595 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003196/3.336, allocations: 1.006 MB / 1.596 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/3.336, allocations: 0.9629 MB / 1.597 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/3.336, allocations: 7.938 kB / 1.597 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007932/3.337, allocations: 295.9 kB / 1.597 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/3.338, allocations: 121.5 kB / 1.597 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/3.339, allocations: 0.9714 MB / 1.598 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/3.34, allocations: 151.1 kB / 1.598 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-05/3.34, allocations: 31.97 kB / 1.598 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.587e-06/3.34, allocations: 4 kB / 1.598 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002918/3.343, allocations: 0.8717 MB / 1.599 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/3.343, allocations: 0 / 1.599 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007238/3.344, allocations: 309.6 kB / 1.599 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/3.344, allocations: 124.7 kB / 1.599 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/3.346, allocations: 0.9422 MB / 1.6 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/3.347, allocations: 142.4 kB / 1.601 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/3.347, allocations: 38.91 kB / 1.601 GB, free: 56.23 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.eva.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002646/3.347, allocations: 121 kB / 1.601 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/3.348, allocations: 94.78 kB / 1.601 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/3.351, allocations: 1.113 MB / 1.602 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/3.351, allocations: 4 kB / 1.602 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/3.351, allocations: 0.6875 kB / 1.602 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/3.351, allocations: 7.984 kB / 1.602 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/3.355, allocations: 1.893 MB / 1.604 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/3.355, allocations: 0.6562 kB / 1.604 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/3.355, allocations: 108.8 kB / 1.604 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007443/3.356, allocations: 321.6 kB / 1.604 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/3.356, allocations: 15.98 kB / 1.604 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/3.357, allocations: 0.9763 MB / 1.605 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/3.357, allocations: 4 kB / 1.605 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00168/3.359, allocations: 1.001 MB / 1.606 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001807/3.361, allocations: 1.446 MB / 1.607 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/3.361, allocations: 275.5 kB / 1.608 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/3.361, allocations: 4 kB / 1.608 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/3.363, allocations: 126 kB / 1.608 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/3.363, allocations: 40.38 kB / 1.608 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/3.363, allocations: 23.98 kB / 1.608 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000731/3.364, allocations: 0.5267 MB / 1.608 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003666/3.367, allocations: 0.7992 MB / 1.609 GB, free: 47.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/3.369, allocations: 0.6765 MB / 1.61 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001818/3.37, allocations: 0.9359 MB / 1.611 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/3.37, allocations: 0 / 1.611 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/3.371, allocations: 339 kB / 1.611 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/3.373, allocations: 414.7 kB / 1.612 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/3.376, allocations: 1.391 MB / 1.613 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/3.377, allocations: 1.179 MB / 1.614 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/3.377, allocations: 0 / 1.614 GB, free: 42.34 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)