Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.417/1.417, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009954/0.0009953, allocations: 189.2 kB / 361.1 MB, free: 7.098 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.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007834/0.0007834, allocations: 83.47 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2058/0.2066, allocations: 121.5 MB / 0.8512 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.7191, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.868, allocations: 139.1 MB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.8683, allocations: 76.94 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01592/0.8842, allocations: 5.297 MB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.8843, allocations: 15.98 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.8845, allocations: 7.906 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.8847, allocations: 198.8 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.8847, allocations: 1.062 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.8847, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.892e-05/0.8848, allocations: 23.98 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.267e-05/0.8849, allocations: 49.59 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.8849, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.885, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.885, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.8854, allocations: 281.3 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/0.8855, allocations: 46.5 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.8856, allocations: 20.98 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.8856, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.8856, allocations: 35.81 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.8856, allocations: 0 / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000245/0.8859, allocations: 65.59 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.8859, allocations: 51.41 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.886, allocations: 113.8 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.886, allocations: 25.7 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.8861, allocations: 92.05 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.8861, allocations: 19.73 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.8861, allocations: 3.938 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.8863, allocations: 318.8 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.8864, allocations: 11.98 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.8864, allocations: 16 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.8865, allocations: 12 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8865, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000154/0.8866, allocations: 71.47 kB / 1.106 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.8867, allocations: 8 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8867, allocations: 0 / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.8867, allocations: 4 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.8868, allocations: 15.98 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.8868, allocations: 0 / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.8869, allocations: 11.89 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.8869, allocations: 11.94 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.989e-05/0.887, allocations: 107.1 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.8871, allocations: 7.906 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.8872, allocations: 73.86 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8873, allocations: 0 / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8873, allocations: 3.984 kB / 1.107 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8873, allocations: 3.906 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.8874, allocations: 164 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8874, allocations: 4 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.07e-05/0.8875, allocations: 12 kB / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8875, allocations: 0 / 1.107 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.8876, allocations: 7.984 kB / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.8876, allocations: 0 / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8876, allocations: 0 / 1.107 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/0.8877, allocations: 167.3 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002675/0.888, allocations: 0.5433 MB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.8881, allocations: 88.95 kB / 1.107 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8881, allocations: 0 / 1.107 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.8882, allocations: 7.906 kB / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.8882, allocations: 7.984 kB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.8883, allocations: 7.984 kB / 1.107 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.103e-05/0.8883, allocations: 101.9 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007817/0.8891, allocations: 24 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002106/0.8893, allocations: 119 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.8894, allocations: 37.58 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8895, allocations: 0 / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-05/0.8895, allocations: 17.5 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.8897, allocations: 20.44 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.89, allocations: 100.4 kB / 1.108 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.8903, allocations: 0.7075 MB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8903, allocations: 0 / 1.109 GB, free: 7.426 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)