Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.8092/0.8092, allocations: 141.8 MB / 149.1 MB, free: 3.73 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 179.1 kB / 181.9 MB, free: 15.47 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.293/1.293, allocations: 221.4 MB / 436 MB, free: 8.613 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.0009508/0.0009508, allocations: 99.14 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 277.6 kB / 0.5884 GB, free: 11.7 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1717/0.1735, allocations: 89.65 MB / 0.676 GB, free: 1.957 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.5142, allocations: 82.76 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.6241, allocations: 109.8 MB / 0.864 GB, free: 2.289 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.6243, allocations: 79.94 kB / 0.8641 GB, free: 2.215 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01543/0.6398, allocations: 5.383 MB / 0.8694 GB, free: 12.82 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.6398, allocations: 9.25 kB / 0.8694 GB, free: 12.81 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.6399, allocations: 7.906 kB / 0.8694 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.6402, allocations: 190.9 kB / 0.8696 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.6402, allocations: 0 / 0.8696 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.6402, allocations: 4 kB / 0.8696 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.6404, allocations: 20 kB / 0.8696 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.6405, allocations: 53.67 kB / 0.8696 GB, free: 12.49 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6405, allocations: 7.938 kB / 0.8696 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6405, allocations: 3.906 kB / 0.8697 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6405, allocations: 0 / 0.8697 GB, free: 12.48 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.641, allocations: 285.3 kB / 0.8699 GB, free: 12.16 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.454e-05/0.6411, allocations: 34.58 kB / 0.87 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.6411, allocations: 16.98 kB / 0.87 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.6412, allocations: 4 kB / 0.87 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.6412, allocations: 34.56 kB / 0.87 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.6412, allocations: 0 / 0.87 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002319/0.6415, allocations: 69.53 kB / 0.8701 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.6415, allocations: 51.41 kB / 0.8701 GB, free: 11.92 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.667e-05/0.6416, allocations: 113.2 kB / 0.8702 GB, free: 11.8 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6416, allocations: 25.7 kB / 0.8703 GB, free: 11.77 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.6417, allocations: 94.75 kB / 0.8703 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.6417, allocations: 19.66 kB / 0.8704 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.6417, allocations: 0 / 0.8704 GB, free: 11.65 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6418, allocations: 318.8 kB / 0.8707 GB, free: 11.33 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.6418, allocations: 16 kB / 0.8707 GB, free: 11.32 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.6419, allocations: 12 kB / 0.8707 GB, free: 11.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.6419, allocations: 19.98 kB / 0.8707 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.642, allocations: 0 / 0.8707 GB, free: 11.29 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.6421, allocations: 65.59 kB / 0.8708 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6421, allocations: 6.969 kB / 0.8708 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6421, allocations: 3.938 kB / 0.8708 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6422, allocations: 3.938 kB / 0.8708 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.6423, allocations: 19.98 kB / 0.8708 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6423, allocations: 8 kB / 0.8708 GB, free: 11.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.6424, allocations: 7.906 kB / 0.8708 GB, free: 11.17 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6424, allocations: 0 / 0.8708 GB, free: 11.17 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.579e-05/0.6425, allocations: 105 kB / 0.8709 GB, free: 11.06 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.6425, allocations: 11.89 kB / 0.8709 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.6427, allocations: 76.92 kB / 0.871 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6427, allocations: 4 kB / 0.871 GB, free: 10.97 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6428, allocations: 4 kB / 0.871 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6428, allocations: 3.938 kB / 0.871 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.6429, allocations: 162.1 kB / 0.8712 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.643, allocations: 0 / 0.8712 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.6431, allocations: 15.98 kB / 0.8712 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6431, allocations: 0 / 0.8712 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6431, allocations: 0 / 0.8712 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6431, allocations: 4 kB / 0.8712 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.6431, allocations: 4.562 kB / 0.8712 GB, free: 10.74 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002008/0.6433, allocations: 163.4 kB / 0.8714 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000375/0.6437, allocations: 0.5388 MB / 0.8719 GB, free: 10.01 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.6437, allocations: 84.95 kB / 0.872 GB, free: 9.906 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.6438, allocations: 7.984 kB / 0.872 GB, free: 9.898 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6439, allocations: 11.98 kB / 0.872 GB, free: 9.887 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.644, allocations: 1.031 kB / 0.872 GB, free: 9.887 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.644, allocations: 7.906 kB / 0.872 GB, free: 9.879 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.432e-05/0.644, allocations: 99.27 kB / 0.8721 GB, free: 9.781 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008709/0.6449, allocations: 20 kB / 0.8721 GB, free: 9.762 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002092/0.6451, allocations: 123.2 kB / 0.8722 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.6453, allocations: 32 kB / 0.8723 GB, free: 9.598 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6453, allocations: 0 / 0.8723 GB, free: 9.598 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.6453, allocations: 23.94 kB / 0.8723 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.6455, allocations: 12.92 kB / 0.8723 GB, free: 9.562 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.6458, allocations: 96.11 kB / 0.8724 GB, free: 9.445 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6462, allocations: 0.7113 MB / 0.8731 GB, free: 8.707 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.6462, allocations: 0 / 0.8731 GB, free: 8.707 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)