Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.955/1.955, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 178.4 kB / 490.8 MB, free: 11.22 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.538/1.538, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009093, allocations: 100.3 kB / 0.9264 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3075/0.3084, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/1.073, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.817/4.89, allocations: 1.866 GB / 3.078 GB, free: 211.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/4.89, allocations: 79.95 kB / 3.078 GB, free: 211.2 MB / 1.151 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.932/5.822, allocations: 210.3 MB / 3.283 GB, free: 343.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/5.822, allocations: 11.03 kB / 3.283 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/5.822, allocations: 27.34 kB / 3.283 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/5.823, allocations: 283.1 kB / 3.284 GB, free: 343.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/5.823, allocations: 7.469 kB / 3.284 GB, free: 343.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/5.823, allocations: 14.19 kB / 3.284 GB, free: 343.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001948/5.823, allocations: 97.61 kB / 3.284 GB, free: 343.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/5.823, allocations: 214.9 kB / 3.284 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/5.823, allocations: 3.844 kB / 3.284 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/5.823, allocations: 0 / 3.284 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/5.823, allocations: 3.938 kB / 3.284 GB, free: 343.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/5.824, allocations: 1.295 MB / 3.285 GB, free: 342.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/5.824, allocations: 148.4 kB / 3.285 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/5.824, allocations: 80.12 kB / 3.285 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/5.825, allocations: 116.3 kB / 3.285 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/5.825, allocations: 48.53 kB / 3.286 GB, free: 342 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/5.825, allocations: 3.062 kB / 3.286 GB, free: 342 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.000425/5.825, allocations: 133.1 kB / 3.286 GB, free: 342 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/5.825, allocations: 192.5 kB / 3.286 GB, free: 341.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/5.825, allocations: 165 kB / 3.286 GB, free: 341.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/5.825, allocations: 25.7 kB / 3.286 GB, free: 341.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/5.825, allocations: 144.5 kB / 3.286 GB, free: 341.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/5.825, allocations: 30.22 kB / 3.286 GB, free: 341.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/5.825, allocations: 0 / 3.286 GB, free: 341.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/5.826, allocations: 335.9 kB / 3.287 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/5.826, allocations: 24.94 kB / 3.287 GB, free: 341.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/5.826, allocations: 103.9 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/5.826, allocations: 72.34 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/5.826, allocations: 3.875 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002612/5.826, allocations: 163.7 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/5.826, allocations: 7 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.826, allocations: 7.125 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/5.826, allocations: 0 / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/5.826, allocations: 39.33 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/5.826, allocations: 3.375 kB / 3.287 GB, free: 341.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/5.826, allocations: 27.05 kB / 3.287 GB, free: 341 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/5.827, allocations: 12.61 kB / 3.287 GB, free: 341 MB / 1.151 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 6.003e-05/5.827, allocations: 111.2 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/5.827, allocations: 14.94 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/5.827, allocations: 115.9 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/5.827, allocations: 5.531 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.827, allocations: 6.094 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/5.827, allocations: 1.969 kB / 3.287 GB, free: 340.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/5.828, allocations: 0.7271 MB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/5.828, allocations: 2.844 kB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/5.828, allocations: 27.27 kB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/5.828, allocations: 3.875 kB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/5.828, allocations: 3.844 kB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/5.828, allocations: 7.047 kB / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/5.828, allocations: 0 / 3.288 GB, free: 340.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/5.828, allocations: 359.1 kB / 3.288 GB, free: 340 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005398/5.829, allocations: 0.8077 MB / 3.289 GB, free: 339.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/5.829, allocations: 105.2 kB / 3.289 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/5.829, allocations: 5.688 kB / 3.289 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/5.829, allocations: 18.8 kB / 3.289 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/5.829, allocations: 18.55 kB / 3.289 GB, free: 339.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/5.829, allocations: 3.969 kB / 3.289 GB, free: 339.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.08e-05/5.829, allocations: 139.5 kB / 3.289 GB, free: 339.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001174/5.83, allocations: 238 kB / 3.29 GB, free: 339.2 MB / 1.151 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.001272/5.832, allocations: 1.135 MB / 3.291 GB, free: 339 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001816/5.832, allocations: 85.67 kB / 3.291 GB, free: 339 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/5.832, allocations: 1.625 kB / 3.291 GB, free: 339 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.455e-05/5.832, allocations: 45.22 kB / 3.291 GB, free: 339 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/5.832, allocations: 56.11 kB / 3.291 GB, free: 339 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/5.833, allocations: 346.5 kB / 3.291 GB, free: 338.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/5.833, allocations: 0.7874 MB / 3.292 GB, free: 338.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/5.833, allocations: 0 / 3.292 GB, free: 338.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)