Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.529/1.529, allocations: 289.8 MB / 297.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 189.2 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.000954, allocations: 91.59 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2596/0.2606, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.9177, allocations: 116.3 MB / 0.9726 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.755/4.672, allocations: 2.064 GB / 3.037 GB, free: 12.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/4.673, allocations: 83.95 kB / 3.037 GB, free: 12.27 MB / 0.948 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.8696/5.542, allocations: 197.9 MB / 3.23 GB, free: 198.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/5.542, allocations: 11.94 kB / 3.23 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006318/5.543, allocations: 75.56 kB / 3.231 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/5.544, allocations: 294 kB / 3.231 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/5.544, allocations: 11.98 kB / 3.231 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/5.544, allocations: 12 kB / 3.231 GB, free: 197.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/5.544, allocations: 156.8 kB / 3.231 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/5.544, allocations: 239.4 kB / 3.231 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/5.544, allocations: 4 kB / 3.231 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/5.544, allocations: 3.906 kB / 3.231 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/5.544, allocations: 11.94 kB / 3.231 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/5.546, allocations: 1.23 MB / 3.232 GB, free: 196 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/5.546, allocations: 130.6 kB / 3.233 GB, free: 195.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/5.546, allocations: 80.83 kB / 3.233 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/5.547, allocations: 303.3 kB / 3.233 GB, free: 195.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/5.547, allocations: 38.5 kB / 3.233 GB, free: 195.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/5.547, allocations: 0 / 3.233 GB, free: 195.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.001189/5.548, allocations: 302 kB / 3.233 GB, free: 195.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/5.548, allocations: 51.41 kB / 3.233 GB, free: 195 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/5.548, allocations: 180.3 kB / 3.233 GB, free: 194.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/5.548, allocations: 25.7 kB / 3.233 GB, free: 194.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/5.548, allocations: 148.1 kB / 3.234 GB, free: 194.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/5.548, allocations: 51.3 kB / 3.234 GB, free: 194.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/5.548, allocations: 4 kB / 3.234 GB, free: 194.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.307e-05/5.548, allocations: 330.8 kB / 3.234 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/5.549, allocations: 55.98 kB / 3.234 GB, free: 194.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/5.549, allocations: 115.4 kB / 3.234 GB, free: 194.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/5.549, allocations: 103.9 kB / 3.234 GB, free: 194 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/5.549, allocations: 0 / 3.234 GB, free: 194 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008681/5.55, allocations: 298.3 kB / 3.235 GB, free: 193.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/5.55, allocations: 4 kB / 3.235 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/5.55, allocations: 3.906 kB / 3.235 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/5.55, allocations: 88.89 kB / 3.235 GB, free: 193.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/5.551, allocations: 63.89 kB / 3.235 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/5.553, allocations: 1.504 MB / 3.236 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/5.553, allocations: 40.12 kB / 3.236 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/5.553, allocations: 11.98 kB / 3.236 GB, free: 191.9 MB / 0.948 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.044e-05/5.553, allocations: 111.1 kB / 3.236 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/5.553, allocations: 19.72 kB / 3.236 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/5.554, allocations: 325.8 kB / 3.237 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/5.554, allocations: 4 kB / 3.237 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/5.554, allocations: 0 / 3.237 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/5.554, allocations: 0 / 3.237 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/5.555, allocations: 0.6815 MB / 3.237 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/5.555, allocations: 0 / 3.237 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/5.556, allocations: 52 kB / 3.237 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005138/5.556, allocations: 88.77 kB / 3.237 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/5.556, allocations: 0 / 3.237 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/5.558, allocations: 1.539 MB / 3.239 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.558, allocations: 0 / 3.239 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008222/5.558, allocations: 435.6 kB / 3.239 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009917/5.559, allocations: 0.8454 MB / 3.24 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/5.56, allocations: 116.8 kB / 3.24 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/5.56, allocations: 7.906 kB / 3.24 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/5.56, allocations: 39.91 kB / 3.24 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/5.56, allocations: 15.97 kB / 3.24 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/5.56, allocations: 8 kB / 3.24 GB, free: 187.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-05/5.56, allocations: 144.5 kB / 3.24 GB, free: 187.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001393/5.562, allocations: 239.8 kB / 3.241 GB, free: 186.9 MB / 0.948 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.001279/5.563, allocations: 1.088 MB / 3.242 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005819/5.563, allocations: 269.5 kB / 3.242 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/5.563, allocations: 0 / 3.242 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/5.564, allocations: 202.2 kB / 3.242 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/5.564, allocations: 76.36 kB / 3.242 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/5.565, allocations: 359.2 kB / 3.243 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/5.566, allocations: 0.7959 MB / 3.243 GB, free: 184.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/5.566, allocations: 0 / 3.243 GB, free: 184.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)