Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7637/0.7637, allocations: 141.8 MB / 149.1 MB, free: 11.96 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 188.9 kB / 182 MB, free: 8.695 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 221.3 MB / 436 MB, free: 0.9219 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009319/0.0009321, allocations: 95.78 kB / 0.507 GB, free: 9.902 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001902/0.001902, allocations: 272.6 kB / 0.5884 GB, free: 6.719 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1804/0.1823, allocations: 89.65 MB / 0.676 GB, free: 12.98 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.5535, allocations: 82.77 MB / 0.7568 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.6705, allocations: 110.3 MB / 0.8645 GB, free: 27.45 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.6708, allocations: 87.92 kB / 0.8646 GB, free: 27.37 MB / 0.5575 GB 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.02191/0.6927, allocations: 7.876 MB / 0.8723 GB, free: 19.46 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.6928, allocations: 12.94 kB / 0.8723 GB, free: 19.45 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.6932, allocations: 39.62 kB / 0.8724 GB, free: 19.41 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.6938, allocations: 298.2 kB / 0.8726 GB, free: 19.09 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6938, allocations: 4 kB / 0.8726 GB, free: 19.08 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.6938, allocations: 8 kB / 0.8727 GB, free: 19.07 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002151/0.6941, allocations: 92.55 kB / 0.8727 GB, free: 18.98 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.6943, allocations: 164.4 kB / 0.8729 GB, free: 18.8 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.6943, allocations: 3.984 kB / 0.8729 GB, free: 18.8 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6944, allocations: 7.906 kB / 0.8729 GB, free: 18.79 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6944, allocations: 7.938 kB / 0.8729 GB, free: 18.78 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.6954, allocations: 0.9115 MB / 0.8738 GB, free: 17.81 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.696, allocations: 181.3 kB / 0.874 GB, free: 17.62 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.6961, allocations: 49.72 kB / 0.874 GB, free: 17.56 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.6961, allocations: 4 kB / 0.874 GB, free: 17.56 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.6962, allocations: 34.5 kB / 0.8741 GB, free: 17.52 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.6962, allocations: 0 / 0.8741 GB, free: 17.52 MB / 0.5575 GB Notification: Performance of matching and sorting (n=16): time 0.000471/0.6966, allocations: 147.6 kB / 0.8742 GB, free: 17.37 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.6967, allocations: 77.11 kB / 0.8743 GB, free: 17.27 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.6969, allocations: 223.3 kB / 0.8745 GB, free: 17.05 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.6969, allocations: 29.7 kB / 0.8745 GB, free: 17.02 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.6969, allocations: 132.2 kB / 0.8746 GB, free: 16.88 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.697, allocations: 55.2 kB / 0.8747 GB, free: 16.83 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.697, allocations: 0 / 0.8747 GB, free: 16.83 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.6971, allocations: 334.7 kB / 0.875 GB, free: 16.49 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.6971, allocations: 40 kB / 0.8751 GB, free: 16.45 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.6972, allocations: 91.22 kB / 0.8751 GB, free: 16.34 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.6974, allocations: 43.98 kB / 0.8752 GB, free: 16.3 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6974, allocations: 4 kB / 0.8752 GB, free: 16.3 MB / 0.5575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003565/0.6978, allocations: 181.2 kB / 0.8754 GB, free: 16.11 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6978, allocations: 4 kB / 0.8754 GB, free: 16.11 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.6978, allocations: 4 kB / 0.8754 GB, free: 16.11 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6978, allocations: 4 kB / 0.8754 GB, free: 16.1 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.6981, allocations: 80.06 kB / 0.8754 GB, free: 16.02 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6982, allocations: 3.938 kB / 0.8755 GB, free: 16.02 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.6984, allocations: 51.72 kB / 0.8755 GB, free: 15.97 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.6985, allocations: 8 kB / 0.8755 GB, free: 15.96 MB / 0.5575 GB 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 5.996e-05/0.6985, allocations: 112.9 kB / 0.8756 GB, free: 15.84 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.6986, allocations: 27.72 kB / 0.8756 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.699, allocations: 187.8 kB / 0.8758 GB, free: 15.63 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.699, allocations: 4 kB / 0.8758 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.699, allocations: 3.984 kB / 0.8758 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.699, allocations: 0 / 0.8758 GB, free: 15.62 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.6993, allocations: 265.9 kB / 0.8761 GB, free: 15.32 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.6993, allocations: 0 / 0.8761 GB, free: 15.32 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.6996, allocations: 71.89 kB / 0.8762 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.6996, allocations: 0 / 0.8762 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6997, allocations: 0 / 0.8762 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6997, allocations: 7.984 kB / 0.8762 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6997, allocations: 0 / 0.8762 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003818/0.7001, allocations: 348.1 kB / 0.8765 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003995/0.7005, allocations: 0.7144 MB / 0.8772 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.7005, allocations: 100.7 kB / 0.8773 GB, free: 14.03 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.7006, allocations: 0 / 0.8773 GB, free: 14.03 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.7009, allocations: 47.95 kB / 0.8773 GB, free: 13.98 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.701, allocations: 15.98 kB / 0.8773 GB, free: 13.96 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.701, allocations: 8 kB / 0.8774 GB, free: 13.96 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0001159/0.7011, allocations: 171.1 kB / 0.8775 GB, free: 13.79 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009189/0.702, allocations: 60.09 kB / 0.8776 GB, free: 13.73 MB / 0.5575 GB 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.0002044/0.7022, allocations: 111.1 kB / 0.8777 GB, free: 13.61 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.7025, allocations: 132.1 kB / 0.8778 GB, free: 13.48 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7025, allocations: 384 / 0.8778 GB, free: 13.48 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.7026, allocations: 72.11 kB / 0.8779 GB, free: 13.41 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.7031, allocations: 61.12 kB / 0.8779 GB, free: 13.35 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.7038, allocations: 303.5 kB / 0.8782 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.7041, allocations: 0.7921 MB / 0.879 GB, free: 12.22 MB / 0.5575 GB Notification: Performance of SimCode: time 2.6e-07/0.7041, allocations: 0 / 0.879 GB, free: 12.22 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)