Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",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/BuildSysPro 3.5.0/package.mo): time 0.7435/0.7435, allocations: 127.3 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 193.2 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.0009131, allocations: 84.59 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3982/0.3992, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.6068, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.976/5.583, allocations: 2.139 GB / 2.76 GB, free: 74.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/5.583, allocations: 87.94 kB / 2.76 GB, free: 74.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.7428/6.326, allocations: 197.6 MB / 2.953 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/6.326, allocations: 8 kB / 2.953 GB, free: 127.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/6.327, allocations: 75.56 kB / 2.953 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/6.327, allocations: 296.9 kB / 2.953 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/6.327, allocations: 4 kB / 2.953 GB, free: 127.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/6.327, allocations: 15.94 kB / 2.953 GB, free: 127.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003083/6.328, allocations: 156.8 kB / 2.953 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/6.328, allocations: 243.4 kB / 2.954 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/6.328, allocations: 4 kB / 2.954 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/6.328, allocations: 3.938 kB / 2.954 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/6.328, allocations: 7.938 kB / 2.954 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/6.329, allocations: 1.226 MB / 2.955 GB, free: 125.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/6.33, allocations: 134.6 kB / 2.955 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/6.33, allocations: 88.83 kB / 2.955 GB, free: 125.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/6.33, allocations: 299.3 kB / 2.955 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/6.33, allocations: 34.56 kB / 2.955 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/6.33, allocations: 0 / 2.955 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.00117/6.332, allocations: 304.5 kB / 2.956 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/6.332, allocations: 59.34 kB / 2.956 GB, free: 124.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/6.332, allocations: 172.2 kB / 2.956 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/6.332, allocations: 25.7 kB / 2.956 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/6.332, allocations: 160 kB / 2.956 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/6.332, allocations: 43.3 kB / 2.956 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/6.332, allocations: 0 / 2.956 GB, free: 124.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.853e-05/6.332, allocations: 330.8 kB / 2.956 GB, free: 123.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/6.332, allocations: 55.98 kB / 2.956 GB, free: 123.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/6.332, allocations: 118.8 kB / 2.957 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/6.332, allocations: 104.2 kB / 2.957 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/6.332, allocations: 0 / 2.957 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008673/6.333, allocations: 302.2 kB / 2.957 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/6.333, allocations: 4 kB / 2.957 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/6.333, allocations: 4 kB / 2.957 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/6.334, allocations: 88.89 kB / 2.957 GB, free: 123.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/6.334, allocations: 55.95 kB / 2.957 GB, free: 123 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/6.336, allocations: 1.512 MB / 2.959 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/6.336, allocations: 43.92 kB / 2.959 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/6.336, allocations: 8 kB / 2.959 GB, free: 121.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 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 9.018e-05/6.336, allocations: 104.9 kB / 2.959 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/6.336, allocations: 23.72 kB / 2.959 GB, free: 121.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000876/6.337, allocations: 314.8 kB / 2.959 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/6.337, allocations: 8 kB / 2.959 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/6.337, allocations: 0 / 2.959 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/6.337, allocations: 0 / 2.959 GB, free: 120.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/6.339, allocations: 0.6806 MB / 2.96 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/6.339, allocations: 0 / 2.96 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/6.339, allocations: 43.97 kB / 2.96 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/6.339, allocations: 92.7 kB / 2.96 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/6.339, allocations: 4 kB / 2.96 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/6.341, allocations: 1.523 MB / 2.961 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.341, allocations: 0 / 2.961 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008297/6.342, allocations: 442.2 kB / 2.962 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001112/6.343, allocations: 0.8358 MB / 2.963 GB, free: 117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/6.343, allocations: 96.97 kB / 2.963 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/6.343, allocations: 15.97 kB / 2.963 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/6.343, allocations: 31.97 kB / 2.963 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/6.343, allocations: 15.92 kB / 2.963 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/6.344, allocations: 11.91 kB / 2.963 GB, free: 116.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001255/6.344, allocations: 144.5 kB / 2.963 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001509/6.345, allocations: 239.8 kB / 2.963 GB, free: 116.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.00178/6.347, allocations: 1.085 MB / 2.964 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007389/6.348, allocations: 265.6 kB / 2.964 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/6.348, allocations: 256 / 2.964 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/6.348, allocations: 198.5 kB / 2.965 GB, free: 115 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/6.349, allocations: 84.48 kB / 2.965 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008782/6.35, allocations: 356.9 kB / 2.965 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/6.35, allocations: 0.7945 MB / 2.966 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/6.35, allocations: 0 / 2.966 GB, free: 113.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)