Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 185.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 97.3 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3811/0.382, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.5647, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.099/4.664, allocations: 2.179 GB / 3.064 GB, free: 222 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/4.664, allocations: 83.95 kB / 3.064 GB, free: 221.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.3608/5.025, allocations: 201.8 MB / 3.261 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/5.025, allocations: 8 kB / 3.261 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/5.025, allocations: 31.72 kB / 3.261 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/5.026, allocations: 274.2 kB / 3.261 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/5.026, allocations: 8 kB / 3.261 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/5.026, allocations: 12 kB / 3.261 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001805/5.026, allocations: 107.7 kB / 3.261 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/5.026, allocations: 218.4 kB / 3.262 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/5.026, allocations: 3.938 kB / 3.262 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/5.026, allocations: 0 / 3.262 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/5.026, allocations: 4 kB / 3.262 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/5.027, allocations: 1.287 MB / 3.263 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/5.027, allocations: 155.6 kB / 3.263 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.003e-05/5.027, allocations: 77.33 kB / 3.263 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/5.027, allocations: 121.1 kB / 3.263 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/5.028, allocations: 38.5 kB / 3.263 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/5.028, allocations: 0 / 3.263 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004174/5.028, allocations: 141.3 kB / 3.263 GB, free: 13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/5.028, allocations: 188.1 kB / 3.264 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/5.028, allocations: 170.5 kB / 3.264 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/5.028, allocations: 25.7 kB / 3.264 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/5.028, allocations: 144 kB / 3.264 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/5.028, allocations: 27.56 kB / 3.264 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/5.028, allocations: 0 / 3.264 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.231e-05/5.028, allocations: 330.8 kB / 3.264 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/5.028, allocations: 32 kB / 3.264 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/5.028, allocations: 104.4 kB / 3.264 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/5.029, allocations: 63.94 kB / 3.264 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/5.029, allocations: 3.906 kB / 3.264 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002634/5.029, allocations: 161.3 kB / 3.265 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/5.029, allocations: 4 kB / 3.265 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/5.029, allocations: 4 kB / 3.265 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/5.029, allocations: 224 / 3.265 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/5.029, allocations: 48.09 kB / 3.265 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/5.029, allocations: 8 kB / 3.265 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/5.029, allocations: 19.89 kB / 3.265 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/5.029, allocations: 8 kB / 3.265 GB, free: 11.58 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/5.029, allocations: 112.9 kB / 3.265 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/5.029, allocations: 15.81 kB / 3.265 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/5.03, allocations: 118.6 kB / 3.265 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/5.03, allocations: 4 kB / 3.265 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.03, allocations: 0 / 3.265 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/5.03, allocations: 7.938 kB / 3.265 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000596/5.03, allocations: 0.7227 MB / 3.266 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/5.03, allocations: 4 kB / 3.266 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/5.031, allocations: 27.92 kB / 3.266 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/5.031, allocations: 4.156 kB / 3.266 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/5.031, allocations: 7.984 kB / 3.266 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/5.031, allocations: 4 kB / 3.266 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/5.031, allocations: 0 / 3.266 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003597/5.031, allocations: 360 kB / 3.266 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005533/5.031, allocations: 0.8132 MB / 3.267 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/5.032, allocations: 97.02 kB / 3.267 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/5.032, allocations: 11.92 kB / 3.267 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/5.032, allocations: 11.98 kB / 3.267 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/5.032, allocations: 11.91 kB / 3.267 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/5.032, allocations: 8.062 kB / 3.267 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.319e-05/5.032, allocations: 140.2 kB / 3.267 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001309/5.033, allocations: 239.8 kB / 3.267 GB, free: 8.66 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001373/5.035, allocations: 1.124 MB / 3.268 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001794/5.035, allocations: 87.84 kB / 3.268 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/5.035, allocations: 4.438 kB / 3.269 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.285e-05/5.035, allocations: 39.94 kB / 3.269 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/5.035, allocations: 59.83 kB / 3.269 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/5.036, allocations: 336.8 kB / 3.269 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/5.036, allocations: 0.7862 MB / 3.27 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/5.036, allocations: 0 / 3.27 GB, free: 6.168 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)