Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.8 MB / 297 MB, free: 6.699 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.001189/0.001189, allocations: 185.3 kB / 366.3 MB, free: 1.977 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.635/1.635, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.000923/0.0009229, allocations: 82.27 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3048/0.3058, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7819/1.088, allocations: 116.3 MB / 0.9726 GB, free: 68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.985, allocations: 413.7 MB / 1.377 GB, free: 74.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.985, allocations: 88.95 kB / 1.377 GB, free: 74.95 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 1.672/3.658, allocations: 0.5564 GB / 1.933 GB, free: 19.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/3.658, allocations: 8 kB / 1.933 GB, free: 19.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004112/3.662, allocations: 0.6497 MB / 1.934 GB, free: 18.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/3.665, allocations: 1.597 MB / 1.935 GB, free: 16.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/3.666, allocations: 87.67 kB / 1.935 GB, free: 16.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/3.666, allocations: 56 kB / 1.936 GB, free: 16.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00179/3.668, allocations: 1.101 MB / 1.937 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/3.669, allocations: 1.077 MB / 1.938 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/3.669, allocations: 4 kB / 1.938 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/3.669, allocations: 0 / 1.938 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/3.669, allocations: 27.94 kB / 1.938 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008261/3.678, allocations: 5.472 MB / 1.943 GB, free: 8.812 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/3.679, allocations: 0.847 MB / 1.944 GB, free: 7.957 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/3.679, allocations: 483.5 kB / 1.944 GB, free: 7.484 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/3.68, allocations: 1.081 MB / 1.945 GB, free: 6.164 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007026/3.681, allocations: 0.5478 MB / 1.946 GB, free: 5.602 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.767e-06/3.681, allocations: 0 / 1.946 GB, free: 5.602 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.00217/3.683, allocations: 0.9909 MB / 1.947 GB, free: 4.602 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/3.683, allocations: 55.91 kB / 1.947 GB, free: 4.535 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/3.684, allocations: 1.013 MB / 1.948 GB, free: 3.516 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/3.684, allocations: 33.7 kB / 1.948 GB, free: 3.477 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/3.685, allocations: 452.2 kB / 1.948 GB, free: 3.027 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/3.685, allocations: 193.1 kB / 1.949 GB, free: 2.836 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/3.685, allocations: 0 / 1.949 GB, free: 2.836 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/3.685, allocations: 334 kB / 1.949 GB, free: 2.504 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/3.686, allocations: 417.4 kB / 1.949 GB, free: 2.098 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/3.686, allocations: 0.6456 MB / 1.95 GB, free: 1.348 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/3.687, allocations: 458.8 kB / 1.95 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/3.687, allocations: 7.906 kB / 1.95 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.4619/4.149, allocations: 1.118 MB / 1.951 GB, free: 267.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/4.149, allocations: 7.094 kB / 1.951 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/4.149, allocations: 3.969 kB / 1.951 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/4.149, allocations: 12.84 kB / 1.951 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/4.151, allocations: 278 kB / 1.952 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/4.151, allocations: 9.906 kB / 1.952 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/4.153, allocations: 188.3 kB / 1.952 GB, free: 267.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/4.153, allocations: 60.27 kB / 1.952 GB, free: 267.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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 0.0002251/4.153, allocations: 128.9 kB / 1.952 GB, free: 267.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/4.153, allocations: 124.4 kB / 1.952 GB, free: 267.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/4.156, allocations: 1.212 MB / 1.953 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/4.156, allocations: 15.31 kB / 1.953 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/4.156, allocations: 3.75 kB / 1.953 GB, free: 267.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001628/4.158, allocations: 1.026 MB / 1.954 GB, free: 267.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/4.162, allocations: 2.658 MB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/4.162, allocations: 0 / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/4.164, allocations: 238.2 kB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/4.164, allocations: 10.52 kB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.007e-05/4.164, allocations: 25.7 kB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/4.164, allocations: 11.31 kB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/4.164, allocations: 5.594 kB / 1.957 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002944/4.167, allocations: 2.007 MB / 1.959 GB, free: 266.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004013/4.171, allocations: 3.123 MB / 1.962 GB, free: 265.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/4.171, allocations: 373.7 kB / 1.963 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/4.172, allocations: 3.375 kB / 1.963 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/4.173, allocations: 148.6 kB / 1.963 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/4.173, allocations: 51.81 kB / 1.963 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/4.173, allocations: 51.28 kB / 1.963 GB, free: 265.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001104/4.174, allocations: 0.7709 MB / 1.964 GB, free: 265.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002444/4.177, allocations: 0.5766 MB / 1.964 GB, free: 265.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.001099/4.178, allocations: 0.6618 MB / 1.965 GB, free: 265.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00136/4.179, allocations: 0.9087 MB / 1.966 GB, free: 265.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/4.179, allocations: 3.719 kB / 1.966 GB, free: 265.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006625/4.18, allocations: 0.495 MB / 1.966 GB, free: 265.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/4.182, allocations: 0.5126 MB / 1.967 GB, free: 265.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/4.187, allocations: 2.042 MB / 1.969 GB, free: 264.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/4.188, allocations: 1.405 MB / 1.97 GB, free: 264.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.164e-06/4.188, allocations: 0 / 1.97 GB, free: 264.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)