Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",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 9.1.1-maint.9.1.x/package.mo): time 1.97/1.97, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 185.3 kB / 487 MB, free: 5.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 95.19 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.591/0.5922, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.845, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.882, allocations: 451.8 MB / 1.646 GB, free: 3.926 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.883, allocations: 89.08 kB / 1.647 GB, free: 3.883 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 4.066/5.949, allocations: 1.116 GB / 2.763 GB, free: 189 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/5.949, allocations: 7.688 kB / 2.763 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/5.956, allocations: 1.234 MB / 2.764 GB, free: 188.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008455/5.965, allocations: 2.699 MB / 2.767 GB, free: 188.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005425/5.965, allocations: 171.2 kB / 2.767 GB, free: 188.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/5.966, allocations: 77.72 kB / 2.767 GB, free: 188.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003268/5.969, allocations: 1.458 MB / 2.768 GB, free: 188.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/5.972, allocations: 1.49 MB / 2.77 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/5.972, allocations: 0.75 kB / 2.77 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/5.972, allocations: 7.875 kB / 2.77 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/5.972, allocations: 52.38 kB / 2.77 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/5.986, allocations: 8.175 MB / 2.778 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/5.988, allocations: 1.231 MB / 2.779 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/5.989, allocations: 0.525 MB / 2.78 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005586/5.995, allocations: 3.53 MB / 2.783 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/5.995, allocations: 38.06 kB / 2.783 GB, free: 182.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 4.609e-06/5.995, allocations: 0 / 2.783 GB, free: 182.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.003402/5.998, allocations: 1.4 MB / 2.784 GB, free: 182.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/5.998, allocations: 59.59 kB / 2.784 GB, free: 182.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/6, allocations: 1.46 MB / 2.786 GB, free: 182.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/6, allocations: 29.58 kB / 2.786 GB, free: 182.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/6.001, allocations: 0.6296 MB / 2.787 GB, free: 182.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/6.001, allocations: 201.8 kB / 2.787 GB, free: 181.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/6.001, allocations: 2.156 kB / 2.787 GB, free: 181.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/6.001, allocations: 344.1 kB / 2.787 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/6.002, allocations: 0.5005 MB / 2.788 GB, free: 181.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/6.003, allocations: 0.8723 MB / 2.788 GB, free: 181.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/6.004, allocations: 0.6539 MB / 2.789 GB, free: 181.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/6.004, allocations: 3.906 kB / 2.789 GB, free: 181.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003618/6.008, allocations: 1.707 MB / 2.791 GB, free: 181 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008388/6.009, allocations: 3.734 MB / 2.794 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/6.009, allocations: 7.719 kB / 2.794 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/6.01, allocations: 0.6681 MB / 2.795 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/6.012, allocations: 304.9 kB / 2.795 GB, free: 177.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/6.014, allocations: 1.334 MB / 2.797 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/6.017, allocations: 277.6 kB / 2.797 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/6.017, allocations: 87.36 kB / 2.797 GB, free: 176.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/6.017, allocations: 3.844 kB / 2.797 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004459/6.021, allocations: 1.59 MB / 2.799 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/6.021, allocations: 7.594 kB / 2.799 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/6.023, allocations: 0.6648 MB / 2.799 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/6.024, allocations: 305.9 kB / 2.799 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/6.026, allocations: 1.336 MB / 2.801 GB, free: 176 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/6.029, allocations: 235 kB / 2.801 GB, free: 176 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/6.029, allocations: 81.44 kB / 2.801 GB, free: 176 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * 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 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004868/6.03, allocations: 138.5 kB / 2.801 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/6.03, allocations: 180.2 kB / 2.801 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003921/6.034, allocations: 1.702 MB / 2.803 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/6.034, allocations: 7.625 kB / 2.803 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/6.034, allocations: 0 / 2.803 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/6.034, allocations: 6.844 kB / 2.803 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/6.041, allocations: 3.375 MB / 2.806 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/6.041, allocations: 3.938 kB / 2.806 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/6.043, allocations: 203.6 kB / 2.807 GB, free: 174.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/6.044, allocations: 0.6285 MB / 2.807 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/6.044, allocations: 25.2 kB / 2.807 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/6.046, allocations: 1.312 MB / 2.808 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/6.046, allocations: 3.375 kB / 2.808 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004136/6.051, allocations: 1.71 MB / 2.81 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00452/6.055, allocations: 2.191 MB / 2.812 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/6.057, allocations: 458.5 kB / 2.813 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006605/6.057, allocations: 11.77 kB / 2.813 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/6.059, allocations: 176.4 kB / 2.813 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/6.06, allocations: 50.12 kB / 2.813 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/6.06, allocations: 58.39 kB / 2.813 GB, free: 171.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002702/6.063, allocations: 1.114 MB / 2.814 GB, free: 170.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006876/6.069, allocations: 1.402 MB / 2.815 GB, free: 170.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00262/6.072, allocations: 1.211 MB / 2.817 GB, free: 169.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005399/6.078, allocations: 2.091 MB / 2.819 GB, free: 169.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/6.078, allocations: 4.75 kB / 2.819 GB, free: 169.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/6.079, allocations: 0.6676 MB / 2.819 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/6.084, allocations: 0.6724 MB / 2.82 GB, free: 168.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/6.094, allocations: 2.647 MB / 2.823 GB, free: 167.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003013/6.097, allocations: 1.691 MB / 2.824 GB, free: 167 MB / 1.151 GB Notification: Performance of SimCode: time 1.784e-06/6.097, allocations: 0 / 2.824 GB, free: 167 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)