Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 188.4 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008207/0.0008206, allocations: 91.27 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.354/0.3548, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.5208, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/1.01, allocations: 134.4 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/1.01, allocations: 82.42 kB / 1.016 GB, free: 4.195 MB / 0.6355 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.02207/1.033, allocations: 7.776 MB / 1.024 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.033, allocations: 12 kB / 1.024 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/1.033, allocations: 35.61 kB / 1.024 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/1.033, allocations: 299 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/1.033, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/1.033, allocations: 8 kB / 1.024 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001974/1.034, allocations: 101 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.034, allocations: 155.7 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.034, allocations: 0 / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.034, allocations: 7.938 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/1.034, allocations: 4 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/1.035, allocations: 0.9149 MB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.035, allocations: 179.2 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.035, allocations: 56.75 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/1.035, allocations: 4 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/1.035, allocations: 37.98 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/1.035, allocations: 0 / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004095/1.036, allocations: 153.3 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/1.036, allocations: 77.11 kB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/1.036, allocations: 220.2 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/1.036, allocations: 29.7 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/1.036, allocations: 127.2 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.036, allocations: 57.81 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.036, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.036, allocations: 333.2 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/1.037, allocations: 42.23 kB / 1.026 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/1.037, allocations: 91.62 kB / 1.026 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/1.037, allocations: 50.92 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.037, allocations: 0 / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00036/1.037, allocations: 180.4 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/1.037, allocations: 12.16 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.037, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.037, allocations: 4 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/1.038, allocations: 79.64 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/1.038, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.038, allocations: 55.8 kB / 1.027 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/1.038, allocations: 4 kB / 1.027 GB, free: 10.46 MB / 0.6511 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.971e-05/1.038, allocations: 108.9 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.038, allocations: 27.62 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/1.038, allocations: 193.2 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.038, allocations: 4 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.038, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.038, allocations: 4 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/1.039, allocations: 262.7 kB / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.039, allocations: 0 / 1.027 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/1.039, allocations: 75.08 kB / 1.027 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.039, allocations: 3.906 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.039, allocations: 0 / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.039, allocations: 4 kB / 1.027 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.039, allocations: 7.875 kB / 1.027 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003856/1.039, allocations: 346.4 kB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004604/1.04, allocations: 0.7234 MB / 1.028 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/1.04, allocations: 100.8 kB / 1.029 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.04, allocations: 3.906 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/1.04, allocations: 39.97 kB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/1.04, allocations: 19.91 kB / 1.029 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/1.04, allocations: 7.75 kB / 1.029 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001211/1.041, allocations: 166.2 kB / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008637/1.041, allocations: 64.08 kB / 1.029 GB, free: 8.391 MB / 0.6511 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.0001669/1.042, allocations: 111.2 kB / 1.029 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002234/1.042, allocations: 125.7 kB / 1.029 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/1.042, allocations: 320 / 1.029 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/1.042, allocations: 72.75 kB / 1.029 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/1.042, allocations: 59 kB / 1.029 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/1.043, allocations: 300.9 kB / 1.029 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.043, allocations: 0.7824 MB / 1.03 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.043, allocations: 0 / 1.03 GB, free: 6.984 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)