Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.AbsorptionIndirectSteam_EnergyPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Validation_AbsorptionIndirectSteam_EnergyPlus",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.1/package.mo): time 2.073/2.073, allocations: 248.6 MB / 255.9 MB, free: 7.238 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.001622/0.001621, allocations: 184.4 kB / 315.1 MB, free: 4.293 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.844/1.844, allocations: 205.1 MB / 0.5658 GB, free: 392 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001249/0.001249, allocations: 83.08 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4374/0.4387, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.6321, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.988, allocations: 409 MB / 1.283 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.988, allocations: 89.05 kB / 1.283 GB, free: 245.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 3.145/5.134, allocations: 0.729 GB / 2.012 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/5.134, allocations: 13.38 kB / 2.012 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/5.143, allocations: 0.8769 MB / 2.013 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/5.148, allocations: 1.513 MB / 2.014 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001403/5.149, allocations: 237.3 kB / 2.015 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/5.149, allocations: 51.97 kB / 2.015 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003752/5.153, allocations: 1.298 MB / 2.016 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/5.156, allocations: 1.139 MB / 2.017 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/5.156, allocations: 3.906 kB / 2.017 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/5.157, allocations: 3.719 kB / 2.017 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/5.157, allocations: 21.09 kB / 2.017 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01616/5.173, allocations: 5.648 MB / 2.023 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/5.175, allocations: 1.013 MB / 2.024 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/5.177, allocations: 0.5545 MB / 2.024 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009482/5.178, allocations: 1.072 MB / 2.025 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/5.179, allocations: 0.679 MB / 2.026 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=64): time 3.586e-06/5.179, allocations: 0 / 2.026 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64): time 0.004672/5.184, allocations: 1.362 MB / 2.027 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/5.184, allocations: 89.34 kB / 2.027 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/5.186, allocations: 1.09 MB / 2.028 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/5.187, allocations: 35.98 kB / 2.028 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/5.187, allocations: 422.9 kB / 2.029 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/5.188, allocations: 208.8 kB / 2.029 GB, free: 179 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/5.188, allocations: 0 / 2.029 GB, free: 179 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/5.188, allocations: 337.8 kB / 2.029 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/5.189, allocations: 0.4969 MB / 2.03 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/5.19, allocations: 0.7017 MB / 2.03 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/5.193, allocations: 0.5342 MB / 2.031 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/5.193, allocations: 3.969 kB / 2.031 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004721/5.197, allocations: 1.44 MB / 2.032 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/5.197, allocations: 4.562 kB / 2.032 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/5.197, allocations: 3.812 kB / 2.032 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/5.199, allocations: 0.61 MB / 2.033 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/5.201, allocations: 242.8 kB / 2.033 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/5.205, allocations: 1.214 MB / 2.034 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/5.208, allocations: 218.2 kB / 2.035 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/5.209, allocations: 61.25 kB / 2.035 GB, free: 177.8 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absChi.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: 15 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.datRea.nextTimeEvent,absChi.on,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004228/5.209, allocations: 135.6 kB / 2.035 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/5.209, allocations: 137.8 kB / 2.035 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008124/5.217, allocations: 1.785 MB / 2.037 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/5.218, allocations: 11.14 kB / 2.037 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/5.218, allocations: 3.688 kB / 2.037 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/5.218, allocations: 7.594 kB / 2.037 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/5.227, allocations: 3.247 MB / 2.04 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/5.227, allocations: 3.656 kB / 2.04 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/5.229, allocations: 227.2 kB / 2.04 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/5.231, allocations: 0.6071 MB / 2.041 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/5.231, allocations: 29.94 kB / 2.041 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003477/5.234, allocations: 1.209 MB / 2.042 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/5.235, allocations: 5.969 kB / 2.042 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005281/5.24, allocations: 1.696 MB / 2.044 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00524/5.245, allocations: 2.148 MB / 2.046 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/5.246, allocations: 426.9 kB / 2.046 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/5.247, allocations: 7.141 kB / 2.046 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/5.25, allocations: 185 kB / 2.046 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/5.25, allocations: 56.69 kB / 2.046 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/5.25, allocations: 59.31 kB / 2.046 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001766/5.252, allocations: 0.825 MB / 2.047 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003454/5.255, allocations: 0.565 MB / 2.048 GB, free: 172 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absChi.on,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002367/5.258, allocations: 0.8874 MB / 2.049 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004491/5.262, allocations: 1.257 MB / 2.05 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/5.262, allocations: 1.062 kB / 2.05 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003031/5.266, allocations: 0.7476 MB / 2.051 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/5.271, allocations: 478.5 kB / 2.051 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/5.279, allocations: 2.1 MB / 2.053 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/5.281, allocations: 1.42 MB / 2.054 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/5.281, allocations: 0 / 2.054 GB, free: 169.5 MB / 0.8698 GB