Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 184.4 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 96.11 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6219/0.623, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.8962, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.567/5.463, allocations: 1.869 GB / 3.074 GB, free: 403.1 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/5.464, allocations: 85.36 kB / 3.074 GB, free: 403 MB / 1.135 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.3765/5.84, allocations: 199.8 MB / 3.269 GB, free: 199.2 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/5.84, allocations: 11.98 kB / 3.269 GB, free: 199.2 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/5.841, allocations: 79.56 kB / 3.269 GB, free: 199.1 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004854/5.841, allocations: 297.9 kB / 3.27 GB, free: 198.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/5.841, allocations: 12 kB / 3.27 GB, free: 198.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/5.841, allocations: 15.91 kB / 3.27 GB, free: 198.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003034/5.842, allocations: 160.8 kB / 3.27 GB, free: 198.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/5.842, allocations: 239.4 kB / 3.27 GB, free: 198.3 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/5.842, allocations: 0 / 3.27 GB, free: 198.3 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/5.842, allocations: 4 kB / 3.27 GB, free: 198.3 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/5.842, allocations: 7.938 kB / 3.27 GB, free: 198.3 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/5.844, allocations: 1.214 MB / 3.271 GB, free: 197 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/5.844, allocations: 130.5 kB / 3.271 GB, free: 196.8 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/5.844, allocations: 80.84 kB / 3.272 GB, free: 196.8 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/5.844, allocations: 303.2 kB / 3.272 GB, free: 196.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/5.845, allocations: 34.56 kB / 3.272 GB, free: 196.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/5.845, allocations: 0 / 3.272 GB, free: 196.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=14): time 0.001181/5.846, allocations: 306.3 kB / 3.272 GB, free: 196.1 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/5.846, allocations: 51.41 kB / 3.272 GB, free: 196 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/5.846, allocations: 184.2 kB / 3.272 GB, free: 195.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/5.846, allocations: 25.7 kB / 3.272 GB, free: 195.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/5.846, allocations: 156 kB / 3.273 GB, free: 195.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/5.846, allocations: 47.36 kB / 3.273 GB, free: 195.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/5.846, allocations: 0 / 3.273 GB, free: 195.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/5.846, allocations: 330.7 kB / 3.273 GB, free: 195.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/5.846, allocations: 59.97 kB / 3.273 GB, free: 195.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/5.846, allocations: 114.8 kB / 3.273 GB, free: 195 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/5.847, allocations: 100.5 kB / 3.273 GB, free: 194.9 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/5.847, allocations: 0 / 3.273 GB, free: 194.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008766/5.847, allocations: 312.6 kB / 3.273 GB, free: 194.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/5.847, allocations: 4 kB / 3.273 GB, free: 194.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/5.848, allocations: 0 / 3.273 GB, free: 194.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/5.848, allocations: 84.89 kB / 3.274 GB, free: 194.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/5.848, allocations: 55.97 kB / 3.274 GB, free: 194.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/5.85, allocations: 1.507 MB / 3.275 GB, free: 192.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/5.85, allocations: 47.86 kB / 3.275 GB, free: 192.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/5.85, allocations: 11.98 kB / 3.275 GB, free: 192.8 MB / 1.135 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 8.566e-05/5.851, allocations: 108.9 kB / 3.275 GB, free: 192.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/5.851, allocations: 19.72 kB / 3.275 GB, free: 192.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/5.851, allocations: 323 kB / 3.276 GB, free: 192.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/5.852, allocations: 4 kB / 3.276 GB, free: 192.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/5.852, allocations: 0 / 3.276 GB, free: 192.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/5.852, allocations: 0 / 3.276 GB, free: 192.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/5.853, allocations: 0.6815 MB / 3.276 GB, free: 191.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/5.853, allocations: 4 kB / 3.276 GB, free: 191.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/5.853, allocations: 40.03 kB / 3.276 GB, free: 191.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/5.854, allocations: 92.77 kB / 3.276 GB, free: 191.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/5.854, allocations: 8 kB / 3.276 GB, free: 191.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/5.855, allocations: 1.52 MB / 3.278 GB, free: 189.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.855, allocations: 48 / 3.278 GB, free: 189.8 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008169/5.856, allocations: 451.5 kB / 3.278 GB, free: 189.3 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009717/5.857, allocations: 0.8358 MB / 3.279 GB, free: 188.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/5.857, allocations: 116.8 kB / 3.279 GB, free: 188.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/5.857, allocations: 8 kB / 3.279 GB, free: 188.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/5.857, allocations: 36.03 kB / 3.279 GB, free: 188.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/5.857, allocations: 23.91 kB / 3.279 GB, free: 188.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/5.858, allocations: 4 kB / 3.279 GB, free: 188.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 9.761e-05/5.858, allocations: 148.4 kB / 3.279 GB, free: 188.1 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001298/5.859, allocations: 235.8 kB / 3.28 GB, free: 187.9 MB / 1.135 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.001335/5.86, allocations: 1.083 MB / 3.281 GB, free: 186.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005765/5.861, allocations: 266 kB / 3.281 GB, free: 186.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/5.861, allocations: 0 / 3.281 GB, free: 186.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/5.861, allocations: 201.6 kB / 3.281 GB, free: 186.3 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/5.862, allocations: 94.95 kB / 3.281 GB, free: 186.2 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/5.862, allocations: 362.7 kB / 3.282 GB, free: 185.8 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/5.863, allocations: 0.7959 MB / 3.282 GB, free: 185 MB / 1.135 GB Notification: Performance of SimCode: time 2.51e-07/5.863, allocations: 0 / 3.282 GB, free: 185 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)