Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",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.647/1.647, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001198/0.001198, allocations: 181.2 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.729/1.729, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.001048/0.001048, allocations: 93.89 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3328/0.3339, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/1.184, allocations: 116.3 MB / 0.9726 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.305/6.489, allocations: 2.375 GB / 3.348 GB, free: 110.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/6.489, allocations: 87.94 kB / 3.348 GB, free: 110.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 3.974/10.46, allocations: 1.047 GB / 4.395 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/10.46, allocations: 9.312 kB / 4.395 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007867/10.47, allocations: 1.087 MB / 4.396 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/10.48, allocations: 2.101 MB / 4.399 GB, free: 136.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003303/10.48, allocations: 149 kB / 4.399 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008543/10.48, allocations: 116.5 kB / 4.399 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005284/10.48, allocations: 2.194 MB / 4.401 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/10.49, allocations: 1.914 MB / 4.403 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/10.49, allocations: 3.062 kB / 4.403 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/10.49, allocations: 6.531 kB / 4.403 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/10.49, allocations: 74.2 kB / 4.403 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/10.51, allocations: 8.814 MB / 4.411 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/10.51, allocations: 1.538 MB / 4.413 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/10.51, allocations: 0.8229 MB / 4.414 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009569/10.51, allocations: 0.9652 MB / 4.415 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/10.51, allocations: 1.005 MB / 4.416 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 4.629e-06/10.51, allocations: 0 / 4.416 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.004978/10.52, allocations: 1.762 MB / 4.417 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/10.52, allocations: 308.1 kB / 4.418 GB, free: 124 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/10.52, allocations: 1.423 MB / 4.419 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/10.52, allocations: 33.7 kB / 4.419 GB, free: 122.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005889/10.52, allocations: 0.6725 MB / 4.42 GB, free: 122.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004969/10.52, allocations: 0.508 MB / 4.42 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.777e-05/10.52, allocations: 0 / 4.42 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/10.52, allocations: 357.9 kB / 4.421 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009141/10.52, allocations: 0.6209 MB / 4.421 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/10.52, allocations: 0.9754 MB / 4.422 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/10.52, allocations: 0.747 MB / 4.423 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/10.52, allocations: 0 / 4.423 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003728/10.53, allocations: 1.833 MB / 4.425 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/10.53, allocations: 1.112 MB / 4.426 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/10.53, allocations: 3.906 kB / 4.426 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/10.53, allocations: 90.69 kB / 4.426 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/10.53, allocations: 462.1 kB / 4.426 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/10.53, allocations: 2.078 MB / 4.428 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/10.54, allocations: 282.8 kB / 4.429 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/10.54, allocations: 87.8 kB / 4.429 GB, free: 112.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/10.54, allocations: 6.812 kB / 4.429 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/10.54, allocations: 1.582 MB / 4.43 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/10.54, allocations: 0 / 4.43 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/10.54, allocations: 89 kB / 4.43 GB, free: 111 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/10.54, allocations: 455.4 kB / 4.431 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/10.54, allocations: 1.476 MB / 4.432 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/10.55, allocations: 286.7 kB / 4.432 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/10.55, allocations: 75.95 kB / 4.433 GB, free: 108.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005487/10.55, allocations: 129 kB / 4.433 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005321/10.55, allocations: 225.3 kB / 4.433 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/10.55, allocations: 2.164 MB / 4.435 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/10.55, allocations: 16 kB / 4.435 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/10.55, allocations: 4 kB / 4.435 GB, free: 106 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/10.56, allocations: 1.906 MB / 4.437 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008921/10.57, allocations: 4.79 MB / 4.442 GB, free: 99.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/10.57, allocations: 4 kB / 4.442 GB, free: 99.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/10.57, allocations: 470.8 kB / 4.442 GB, free: 98.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005363/10.57, allocations: 88.78 kB / 4.442 GB, free: 98.62 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/10.57, allocations: 39.95 kB / 4.442 GB, free: 98.58 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/10.57, allocations: 2.082 MB / 4.444 GB, free: 96.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/10.57, allocations: 8 kB / 4.444 GB, free: 96.35 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005352/10.58, allocations: 3.433 MB / 4.448 GB, free: 92.72 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006861/10.58, allocations: 5.049 MB / 4.452 GB, free: 87.47 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/10.58, allocations: 0.6745 MB / 4.453 GB, free: 86.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/10.59, allocations: 8 kB / 4.453 GB, free: 86.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/10.59, allocations: 247.6 kB / 4.453 GB, free: 86.51 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/10.59, allocations: 113 kB / 4.453 GB, free: 86.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/10.59, allocations: 83.94 kB / 4.454 GB, free: 86.32 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001493/10.59, allocations: 1.088 MB / 4.455 GB, free: 85.21 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006008/10.6, allocations: 2.037 MB / 4.457 GB, free: 83.18 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003948/10.6, allocations: 2.663 MB / 4.459 GB, free: 80.85 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004696/10.6, allocations: 2.793 MB / 4.462 GB, free: 78.03 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/10.6, allocations: 4.188 kB / 4.462 GB, free: 78.02 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/10.61, allocations: 1.046 MB / 4.463 GB, free: 76.97 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004879/10.61, allocations: 0.9261 MB / 4.464 GB, free: 76.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008442/10.62, allocations: 3.819 MB / 4.468 GB, free: 72.19 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/10.62, allocations: 1.988 MB / 4.47 GB, free: 70.16 MB / 0.9636 GB Notification: Performance of SimCode: time 1.132e-06/10.62, allocations: 3.938 kB / 4.47 GB, free: 70.16 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)