Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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.556/1.556, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001145/0.001145, allocations: 181.3 kB / 366.3 MB, free: 1.984 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.75/1.75, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.000936/0.000936, allocations: 83.62 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.455e-05/1.456e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8063, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2078/1.014, allocations: 140.1 MB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.014, allocations: 76.92 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01717/1.032, allocations: 4.907 MB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.408e-05/1.032, allocations: 4.688 kB / 1.114 GB, free: 3.422 MB / 0.7136 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.0005884/1.032, allocations: 402.2 kB / 1.115 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.032, allocations: 8.031 kB / 1.115 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/1.033, allocations: 11.89 kB / 1.115 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.033, allocations: 190.9 kB / 1.115 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.033, allocations: 4 kB / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/1.033, allocations: 0 / 1.115 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001305/1.033, allocations: 31.92 kB / 1.115 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/1.033, allocations: 52.7 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.033, allocations: 0 / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/1.033, allocations: 3.984 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/1.033, allocations: 4 kB / 1.115 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/1.034, allocations: 281.3 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/1.034, allocations: 38.58 kB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/1.034, allocations: 24.91 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/1.034, allocations: 0 / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/1.034, allocations: 38.56 kB / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.034, allocations: 1.312 kB / 1.115 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002846/1.034, allocations: 65.59 kB / 1.115 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.034, allocations: 51.41 kB / 1.115 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/1.035, allocations: 114.1 kB / 1.116 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/1.035, allocations: 25.7 kB / 1.116 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/1.035, allocations: 92.05 kB / 1.116 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/1.035, allocations: 15.73 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/1.035, allocations: 0 / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.035, allocations: 318.8 kB / 1.116 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.364e-05/1.035, allocations: 16 kB / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/1.035, allocations: 15.98 kB / 1.116 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/1.035, allocations: 15.94 kB / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.035, allocations: 0 / 1.116 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001467/1.035, allocations: 69.59 kB / 1.116 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.035, allocations: 8.562 kB / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.035, allocations: 0 / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.035, allocations: 3.938 kB / 1.116 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/1.035, allocations: 15.98 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/1.035, allocations: 4 kB / 1.116 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/1.035, allocations: 15.89 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.036, allocations: 0.5625 kB / 1.116 GB, free: 1.324 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 8.451e-05/1.036, allocations: 101 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/1.036, allocations: 7.906 kB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/1.036, allocations: 81.8 kB / 1.116 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.036, allocations: 0 / 1.116 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.036, allocations: 320 / 1.116 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.036, allocations: 4.844 kB / 1.116 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/1.036, allocations: 162.2 kB / 1.116 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.036, allocations: 0 / 1.116 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/1.036, allocations: 19.98 kB / 1.116 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.036, allocations: 0 / 1.116 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/1.036, allocations: 0 / 1.116 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.036, allocations: 4 kB / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.036, allocations: 0 / 1.116 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001984/1.036, allocations: 175.3 kB / 1.117 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/1.036, allocations: 84.95 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.036, allocations: 0.6562 kB / 1.117 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/1.037, allocations: 12.77 kB / 1.117 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/1.037, allocations: 4 kB / 1.117 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.037, allocations: 0 / 1.117 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.828e-05/1.037, allocations: 101.9 kB / 1.117 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002359/1.037, allocations: 27.91 kB / 1.117 GB, free: 476 kB / 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.000247/1.037, allocations: 111.2 kB / 1.117 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001216/1.037, allocations: 32.56 kB / 1.117 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.037, allocations: 0 / 1.117 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/1.037, allocations: 23.94 kB / 1.117 GB, free: 296 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/1.038, allocations: 20.86 kB / 1.117 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/1.038, allocations: 95.75 kB / 1.117 GB, free: 156 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/1.039, allocations: 0.7035 MB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.039, allocations: 0 / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.003668/1.042, allocations: 1.064 MB / 1.119 GB, free: 14.41 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)