Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0.1-maint.8.0.x/package.mo): time 1.443/1.443, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009625/0.0009627, allocations: 179.5 kB / 361.1 MB, free: 7.117 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.147/1.147, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008468/0.0008467, allocations: 97.36 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2121/0.213, allocations: 121.4 MB / 0.8512 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.7227, allocations: 115.3 MB / 0.9638 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.8786, allocations: 139.6 MB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.8788, allocations: 77.22 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02282/0.9017, allocations: 7.78 MB / 1.108 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9017, allocations: 11.94 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.902, allocations: 39.61 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.9025, allocations: 294.2 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.9026, allocations: 6 kB / 1.108 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.9026, allocations: 8 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002271/0.9029, allocations: 96.47 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.9031, allocations: 156.5 kB / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.9031, allocations: 0 / 1.108 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.9032, allocations: 7.844 kB / 1.108 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9032, allocations: 7.75 kB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.9044, allocations: 0.9234 MB / 1.109 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.9049, allocations: 181.3 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.905, allocations: 52.22 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.9051, allocations: 8 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.9051, allocations: 34.55 kB / 1.11 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.9051, allocations: 0 / 1.11 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004419/0.9055, allocations: 149.6 kB / 1.11 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.9056, allocations: 77.11 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.9058, allocations: 219.3 kB / 1.11 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.9058, allocations: 25.7 kB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.9059, allocations: 132.3 kB / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.9059, allocations: 59.19 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.906, allocations: 0 / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.9061, allocations: 334.7 kB / 1.11 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.9062, allocations: 40 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.9063, allocations: 92.78 kB / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.9064, allocations: 47.98 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9064, allocations: 4 kB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003964/0.9068, allocations: 175.4 kB / 1.111 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.9069, allocations: 4 kB / 1.111 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9069, allocations: 8.156 kB / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.9069, allocations: 4 kB / 1.111 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.9072, allocations: 75.89 kB / 1.111 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.9072, allocations: 4 kB / 1.111 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.9075, allocations: 59.08 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.9075, allocations: 8 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.9076, allocations: 108.9 kB / 1.111 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.9077, allocations: 26.25 kB / 1.111 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.9081, allocations: 193.7 kB / 1.111 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.9082, allocations: 4 kB / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.9082, allocations: 0 / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.9082, allocations: 0 / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.9085, allocations: 261.9 kB / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.9085, allocations: 0 / 1.112 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.9088, allocations: 71.95 kB / 1.112 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.9089, allocations: 0 / 1.112 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.9089, allocations: 0 / 1.112 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9089, allocations: 7.938 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.9089, allocations: 0 / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004341/0.9093, allocations: 350.4 kB / 1.112 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006083/0.91, allocations: 0.7153 MB / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.9101, allocations: 104.7 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.9101, allocations: 0 / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.9104, allocations: 39.97 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.9105, allocations: 15.97 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.9105, allocations: 12 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001794/0.9107, allocations: 167.1 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009392/0.9116, allocations: 59.83 kB / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.9119, allocations: 128.6 kB / 1.113 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.9122, allocations: 123.9 kB / 1.113 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9123, allocations: 0 / 1.113 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.9124, allocations: 72.19 kB / 1.113 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.9129, allocations: 62.78 kB / 1.113 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.9138, allocations: 293.2 kB / 1.114 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.9143, allocations: 0.7902 MB / 1.114 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9143, allocations: 0 / 1.114 GB, free: 1.34 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)