Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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 10.0.0-master/package.mo): time 2.233/2.233, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001208/0.001207, allocations: 192.4 kB / 490.8 MB, free: 1.914 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.502/1.502, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001055, allocations: 86.88 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7095/0.7106, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/1.007, allocations: 143 MB / 1.212 GB, free: 39.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/6.437, allocations: 2.183 GB / 3.395 GB, free: 122 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/6.438, allocations: 91.94 kB / 3.395 GB, free: 121.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 4.506/10.94, allocations: 1.132 GB / 4.526 GB, free: 196.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/10.94, allocations: 11.83 kB / 4.527 GB, free: 196.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/10.95, allocations: 386.2 kB / 4.527 GB, free: 196.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00613/10.95, allocations: 1.671 MB / 4.529 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/10.95, allocations: 41.53 kB / 4.529 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006571/10.95, allocations: 83.81 kB / 4.529 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003201/10.96, allocations: 0.9517 MB / 4.53 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/10.96, allocations: 1.225 MB / 4.531 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/10.96, allocations: 5.469 kB / 4.531 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/10.96, allocations: 7.125 kB / 4.531 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/10.96, allocations: 55.95 kB / 4.531 GB, free: 196.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/10.97, allocations: 7.324 MB / 4.538 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/10.97, allocations: 0.7766 MB / 4.539 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/10.98, allocations: 395.3 kB / 4.539 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009108/10.98, allocations: 0.7262 MB / 4.54 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/10.98, allocations: 42.19 kB / 4.54 GB, free: 191.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 4.268e-06/10.98, allocations: 0 / 4.54 GB, free: 191.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.004407/10.98, allocations: 1.187 MB / 4.541 GB, free: 191.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/10.98, allocations: 59.19 kB / 4.541 GB, free: 191.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/10.98, allocations: 0.939 MB / 4.542 GB, free: 190.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/10.98, allocations: 27.58 kB / 4.542 GB, free: 190.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/10.98, allocations: 0.5762 MB / 4.543 GB, free: 190.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/10.98, allocations: 254.2 kB / 4.543 GB, free: 190.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/10.98, allocations: 0 / 4.543 GB, free: 190.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001379/10.98, allocations: 334.8 kB / 4.543 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/10.99, allocations: 272.1 kB / 4.543 GB, free: 190.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/10.99, allocations: 0.5468 MB / 4.544 GB, free: 189.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/10.99, allocations: 451.8 kB / 4.544 GB, free: 189.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/10.99, allocations: 0 / 4.544 GB, free: 189.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003693/10.99, allocations: 1.26 MB / 4.546 GB, free: 189.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007933/10.99, allocations: 1.963 MB / 4.548 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/10.99, allocations: 3.906 kB / 4.548 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/10.99, allocations: 376.5 kB / 4.548 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/10.99, allocations: 146.7 kB / 4.548 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/11, allocations: 2.146 MB / 4.55 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/11, allocations: 143.1 kB / 4.55 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/11, allocations: 37.19 kB / 4.55 GB, free: 186 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/11, allocations: 7.281 kB / 4.55 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004354/11, allocations: 1.058 MB / 4.551 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/11, allocations: 6.844 kB / 4.551 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/11.01, allocations: 378.9 kB / 4.552 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/11.01, allocations: 147.9 kB / 4.552 GB, free: 185.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005529/11.01, allocations: 3.794 MB / 4.556 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/11.02, allocations: 142.6 kB / 4.556 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/11.02, allocations: 36.31 kB / 4.556 GB, free: 182.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006254/11.02, allocations: 123.9 kB / 4.556 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001074/11.02, allocations: 146.2 kB / 4.556 GB, free: 182.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006799/11.03, allocations: 1.24 MB / 4.557 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/11.03, allocations: 10.14 kB / 4.557 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/11.03, allocations: 0 / 4.557 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004639/11.03, allocations: 1.351 MB / 4.558 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008998/11.04, allocations: 2.539 MB / 4.561 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/11.04, allocations: 7.344 kB / 4.561 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/11.04, allocations: 105.8 kB / 4.561 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00277/11.04, allocations: 365.7 kB / 4.561 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/11.04, allocations: 3.719 kB / 4.561 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/11.05, allocations: 2.12 MB / 4.564 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/11.05, allocations: 6.812 kB / 4.564 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00404/11.05, allocations: 1.349 MB / 4.565 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004344/11.05, allocations: 1.882 MB / 4.567 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/11.06, allocations: 327.9 kB / 4.567 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/11.06, allocations: 7.672 kB / 4.567 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/11.06, allocations: 109.5 kB / 4.567 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/11.06, allocations: 49.81 kB / 4.567 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/11.06, allocations: 36.05 kB / 4.567 GB, free: 178.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001661/11.06, allocations: 0.7112 MB / 4.568 GB, free: 178.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006939/11.07, allocations: 1.671 MB / 4.57 GB, free: 178.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004575/11.07, allocations: 2.555 MB / 4.572 GB, free: 177.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002859/11.07, allocations: 1.458 MB / 4.573 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/11.07, allocations: 2.688 kB / 4.573 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/11.07, allocations: 434.5 kB / 4.574 GB, free: 177.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/11.08, allocations: 0.6879 MB / 4.575 GB, free: 177 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/11.08, allocations: 1.996 MB / 4.576 GB, free: 176.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/11.08, allocations: 1.49 MB / 4.578 GB, free: 175.7 MB / 1.167 GB Notification: Performance of SimCode: time 8.22e-07/11.08, allocations: 0 / 4.578 GB, free: 175.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)