Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 192.7 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4672/0.4672, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.4 MB / 342.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 102 kB / 415.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1779/0.179, allocations: 78.44 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.5376, allocations: 72.3 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.6592, allocations: 103.2 MB / 0.6537 GB, free: 6.844 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6595, allocations: 83.94 kB / 0.6538 GB, free: 6.762 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02468/0.6842, allocations: 7.908 MB / 0.6615 GB, free: 14.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.6843, allocations: 8 kB / 0.6616 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.6846, allocations: 35.61 kB / 0.6616 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.6851, allocations: 298.2 kB / 0.6619 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.6852, allocations: 7.906 kB / 0.6619 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.6852, allocations: 15.28 kB / 0.6619 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002246/0.6854, allocations: 88.55 kB / 0.662 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.6857, allocations: 160.4 kB / 0.6621 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6857, allocations: 0 / 0.6621 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.6857, allocations: 4 kB / 0.6621 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.6858, allocations: 4 kB / 0.6621 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.6869, allocations: 0.9115 MB / 0.663 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.6875, allocations: 181.3 kB / 0.6632 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.6876, allocations: 57.72 kB / 0.6633 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.6876, allocations: 4.297 kB / 0.6633 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.6877, allocations: 42.48 kB / 0.6633 GB, free: 12.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.6877, allocations: 4 kB / 0.6633 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004679/0.6882, allocations: 141.2 kB / 0.6634 GB, free: 12.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.6882, allocations: 85.09 kB / 0.6635 GB, free: 12.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.6885, allocations: 215.4 kB / 0.6637 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6885, allocations: 25.7 kB / 0.6637 GB, free: 12.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.6886, allocations: 132.2 kB / 0.6639 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.6886, allocations: 55.19 kB / 0.6639 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.6886, allocations: 0 / 0.6639 GB, free: 12.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6888, allocations: 338.8 kB / 0.6643 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.6889, allocations: 43.86 kB / 0.6643 GB, free: 11.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.689, allocations: 82.02 kB / 0.6644 GB, free: 11.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.6892, allocations: 56.77 kB / 0.6644 GB, free: 11.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6892, allocations: 0 / 0.6644 GB, free: 11.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003927/0.6896, allocations: 184 kB / 0.6646 GB, free: 11.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6896, allocations: 4 kB / 0.6646 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6896, allocations: 3.906 kB / 0.6646 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6896, allocations: 4 kB / 0.6646 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.69, allocations: 80.05 kB / 0.6647 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.69, allocations: 4 kB / 0.6647 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.6903, allocations: 55.8 kB / 0.6647 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.6903, allocations: 4.938 kB / 0.6648 GB, free: 11.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 7.719e-05/0.6904, allocations: 108.9 kB / 0.6649 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6905, allocations: 27.62 kB / 0.6649 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.6909, allocations: 186.7 kB / 0.6651 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.6909, allocations: 0 / 0.6651 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6909, allocations: 4 kB / 0.6651 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6909, allocations: 3.938 kB / 0.6651 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.6913, allocations: 257.9 kB / 0.6653 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6913, allocations: 0 / 0.6653 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.6916, allocations: 69.92 kB / 0.6654 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6916, allocations: 4 kB / 0.6654 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.6916, allocations: 3.906 kB / 0.6654 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6916, allocations: 0 / 0.6654 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6916, allocations: 4 kB / 0.6654 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004626/0.6921, allocations: 354.1 kB / 0.6657 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005272/0.6926, allocations: 0.7183 MB / 0.6664 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.6927, allocations: 100.8 kB / 0.6665 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.6928, allocations: 0 / 0.6665 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.6931, allocations: 43.88 kB / 0.6666 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.6932, allocations: 23.91 kB / 0.6666 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.6932, allocations: 8 kB / 0.6666 GB, free: 9.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001431/0.6933, allocations: 167.1 kB / 0.6668 GB, free: 9.191 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000907/0.6942, allocations: 57.88 kB / 0.6668 GB, free: 9.137 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002063/0.6945, allocations: 120.8 kB / 0.6669 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.6947, allocations: 123.9 kB / 0.667 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6947, allocations: 0 / 0.667 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6949, allocations: 63.94 kB / 0.6671 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.6953, allocations: 69.03 kB / 0.6672 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.696, allocations: 293.7 kB / 0.6675 GB, free: 8.453 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.6964, allocations: 0.7902 MB / 0.6682 GB, free: 7.633 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6964, allocations: 0 / 0.6682 GB, free: 7.633 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)