Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 192.5 kB / 7.805 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4553/0.4553, allocations: 90.86 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 342.7 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 95.3 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1736/0.1748, allocations: 78.45 MB / 494 MB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.6193, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.524/4.143, allocations: 1.822 GB / 2.375 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/4.144, allocations: 83.95 kB / 2.375 GB, free: 0.5664 MB / 0.6042 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.6432/4.787, allocations: 199.8 MB / 2.57 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/4.787, allocations: 8 kB / 2.57 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/4.788, allocations: 75.55 kB / 2.571 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/4.788, allocations: 305.8 kB / 2.571 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/4.788, allocations: 8 kB / 2.571 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/4.788, allocations: 12 kB / 2.571 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003323/4.789, allocations: 156.8 kB / 2.571 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/4.789, allocations: 239.4 kB / 2.571 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/4.789, allocations: 0 / 2.571 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/4.789, allocations: 4 kB / 2.571 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/4.789, allocations: 4 kB / 2.571 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/4.791, allocations: 1.216 MB / 2.572 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/4.791, allocations: 134.5 kB / 2.573 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/4.791, allocations: 84.83 kB / 2.573 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/4.792, allocations: 299.3 kB / 2.573 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/4.792, allocations: 34.56 kB / 2.573 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/4.792, allocations: 0 / 2.573 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001246/4.793, allocations: 302 kB / 2.573 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/4.793, allocations: 55.41 kB / 2.573 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/4.793, allocations: 180.3 kB / 2.573 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/4.793, allocations: 25.7 kB / 2.573 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/4.793, allocations: 148.1 kB / 2.574 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/4.793, allocations: 47.3 kB / 2.574 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/4.793, allocations: 0 / 2.574 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/4.793, allocations: 330.8 kB / 2.574 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/4.793, allocations: 55.98 kB / 2.574 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/4.794, allocations: 122.8 kB / 2.574 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/4.794, allocations: 100.8 kB / 2.574 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/4.794, allocations: 0 / 2.574 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000891/4.795, allocations: 303.3 kB / 2.575 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/4.795, allocations: 4 kB / 2.575 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/4.795, allocations: 8 kB / 2.575 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/4.795, allocations: 92.77 kB / 2.575 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/4.796, allocations: 51.95 kB / 2.575 GB, free: 46.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/4.798, allocations: 1.519 MB / 2.576 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/4.798, allocations: 39.98 kB / 2.576 GB, free: 44.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/4.798, allocations: 4 kB / 2.576 GB, free: 44.94 MB / 0.6042 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.72e-05/4.798, allocations: 112.9 kB / 2.576 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/4.798, allocations: 19.72 kB / 2.576 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/4.799, allocations: 315.7 kB / 2.577 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/4.799, allocations: 4 kB / 2.577 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/4.799, allocations: 4 kB / 2.577 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/4.799, allocations: 3.906 kB / 2.577 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/4.8, allocations: 0.6858 MB / 2.577 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/4.8, allocations: 7.938 kB / 2.577 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/4.801, allocations: 48.05 kB / 2.577 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/4.801, allocations: 88.77 kB / 2.577 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/4.801, allocations: 4 kB / 2.577 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/4.803, allocations: 1.519 MB / 2.579 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/4.803, allocations: 0 / 2.579 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008375/4.804, allocations: 439.6 kB / 2.579 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001034/4.805, allocations: 0.8398 MB / 2.58 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/4.805, allocations: 112.8 kB / 2.58 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/4.805, allocations: 4 kB / 2.58 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/4.805, allocations: 43.86 kB / 2.58 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/4.805, allocations: 12.12 kB / 2.58 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/4.805, allocations: 4 kB / 2.58 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001032/4.805, allocations: 148.5 kB / 2.58 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001343/4.807, allocations: 243.8 kB / 2.581 GB, free: 40 MB / 0.6042 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.001556/4.808, allocations: 1.083 MB / 2.582 GB, free: 38.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006127/4.809, allocations: 266 kB / 2.582 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/4.809, allocations: 0 / 2.582 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/4.809, allocations: 209.7 kB / 2.582 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/4.81, allocations: 87.08 kB / 2.582 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/4.811, allocations: 346.8 kB / 2.583 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/4.811, allocations: 0.8037 MB / 2.583 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/4.811, allocations: 3.938 kB / 2.583 GB, free: 37.15 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)