Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.8 MB / 297.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.00124, allocations: 165.3 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 86.84 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2962/0.2971, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/1.062, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/2.103, allocations: 428.2 MB / 1.391 GB, free: 59.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/2.104, allocations: 94.56 kB / 1.391 GB, free: 59.79 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 1.275/3.379, allocations: 289.9 MB / 1.674 GB, free: 267.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.875e-05/3.379, allocations: 8.938 kB / 1.674 GB, free: 267.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/3.382, allocations: 298.8 kB / 1.674 GB, free: 267.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/3.385, allocations: 0.8591 MB / 1.675 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/3.385, allocations: 19.97 kB / 1.675 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/3.386, allocations: 31.81 kB / 1.675 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/3.387, allocations: 428.8 kB / 1.676 GB, free: 267.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/3.388, allocations: 0.6317 MB / 1.676 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/3.388, allocations: 3.875 kB / 1.676 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/3.389, allocations: 1.781 kB / 1.676 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/3.389, allocations: 19.31 kB / 1.676 GB, free: 266.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006878/3.395, allocations: 4.013 MB / 1.68 GB, free: 263.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/3.396, allocations: 251.6 kB / 1.68 GB, free: 263.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/3.397, allocations: 111.4 kB / 1.681 GB, free: 263.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/3.397, allocations: 370.7 kB / 1.681 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/3.397, allocations: 41.09 kB / 1.681 GB, free: 263 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 3.256e-06/3.397, allocations: 2.734 kB / 1.681 GB, free: 263 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001572/3.399, allocations: 374.5 kB / 1.681 GB, free: 262.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/3.399, allocations: 105 kB / 1.681 GB, free: 262.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/3.4, allocations: 487.3 kB / 1.682 GB, free: 262.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/3.4, allocations: 25.7 kB / 1.682 GB, free: 262.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/3.401, allocations: 340.2 kB / 1.682 GB, free: 262.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/3.401, allocations: 74.56 kB / 1.682 GB, free: 262.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/3.401, allocations: 2.75 kB / 1.682 GB, free: 262.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001546/3.401, allocations: 356.7 kB / 1.683 GB, free: 261.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/3.401, allocations: 121.3 kB / 1.683 GB, free: 261.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/3.401, allocations: 276 kB / 1.683 GB, free: 261.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/3.402, allocations: 193.6 kB / 1.683 GB, free: 261.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/3.402, allocations: 2.625 kB / 1.683 GB, free: 261.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001282/3.403, allocations: 0.5029 MB / 1.684 GB, free: 261.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/3.403, allocations: 2.938 kB / 1.684 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/3.403, allocations: 12.25 kB / 1.684 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/3.404, allocations: 66.41 kB / 1.684 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/3.405, allocations: 135.6 kB / 1.684 GB, free: 261.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000512/3.405, allocations: 0.6386 MB / 1.685 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/3.406, allocations: 104.5 kB / 1.685 GB, free: 260.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/3.407, allocations: 25.36 kB / 1.685 GB, free: 260.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/3.407, allocations: 115.6 kB / 1.685 GB, free: 260.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/3.407, allocations: 64.12 kB / 1.685 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/3.408, allocations: 481.9 kB / 1.685 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/3.408, allocations: 2.906 kB / 1.685 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/3.408, allocations: 7.875 kB / 1.685 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008457/3.409, allocations: 0.5797 MB / 1.686 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/3.411, allocations: 1.01 MB / 1.687 GB, free: 258.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/3.411, allocations: 0 / 1.687 GB, free: 258.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/3.412, allocations: 84.53 kB / 1.687 GB, free: 258.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/3.412, allocations: 48.89 kB / 1.687 GB, free: 258.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/3.412, allocations: 16.47 kB / 1.687 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004932/3.413, allocations: 0.6332 MB / 1.688 GB, free: 258.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/3.413, allocations: 0 / 1.688 GB, free: 258.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001266/3.414, allocations: 0.6714 MB / 1.688 GB, free: 257.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001811/3.416, allocations: 1.236 MB / 1.69 GB, free: 256.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/3.416, allocations: 193.3 kB / 1.69 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/3.417, allocations: 2.812 kB / 1.69 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/3.418, allocations: 73.11 kB / 1.69 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/3.418, allocations: 17.77 kB / 1.69 GB, free: 256.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.806e-05/3.418, allocations: 27.11 kB / 1.69 GB, free: 256.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006208/3.418, allocations: 371.8 kB / 1.69 GB, free: 256.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002478/3.421, allocations: 364.7 kB / 1.691 GB, free: 256.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/3.423, allocations: 476.2 kB / 1.691 GB, free: 256 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008083/3.423, allocations: 311.7 kB / 1.691 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/3.423, allocations: 9.875 kB / 1.691 GB, free: 255.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/3.424, allocations: 142.9 kB / 1.691 GB, free: 255.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/3.425, allocations: 299.9 kB / 1.692 GB, free: 255.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/3.428, allocations: 0.795 MB / 1.692 GB, free: 255.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/3.429, allocations: 1.022 MB / 1.693 GB, free: 254.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/3.429, allocations: 0 / 1.693 GB, free: 254.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)