Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001306/0.001306, allocations: 181.2 kB / 366.3 MB, free: 1.996 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.453/1.453, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0009226/0.0009225, allocations: 89.89 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2909/0.2919, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.9824, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.219/5.202, allocations: 2.061 GB / 3.034 GB, free: 15.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/5.202, allocations: 91.94 kB / 3.034 GB, free: 15.11 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 1.005/6.207, allocations: 208.3 MB / 3.237 GB, free: 188.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/6.207, allocations: 12 kB / 3.237 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/6.207, allocations: 27.62 kB / 3.237 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/6.208, allocations: 283.4 kB / 3.237 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/6.208, allocations: 4 kB / 3.237 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/6.208, allocations: 12 kB / 3.237 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002279/6.208, allocations: 99.91 kB / 3.238 GB, free: 188.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/6.208, allocations: 214.5 kB / 3.238 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/6.208, allocations: 4 kB / 3.238 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/6.208, allocations: 0 / 3.238 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/6.208, allocations: 4 kB / 3.238 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/6.21, allocations: 1.294 MB / 3.239 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/6.21, allocations: 155.9 kB / 3.239 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/6.21, allocations: 77.33 kB / 3.239 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/6.21, allocations: 125 kB / 3.239 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/6.21, allocations: 38.56 kB / 3.239 GB, free: 186.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.285e-06/6.21, allocations: 0 / 3.239 GB, free: 186.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0005399/6.211, allocations: 153.3 kB / 3.24 GB, free: 186.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/6.211, allocations: 183.9 kB / 3.24 GB, free: 185.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/6.211, allocations: 170.1 kB / 3.24 GB, free: 185.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/6.211, allocations: 29.69 kB / 3.24 GB, free: 185.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/6.211, allocations: 136 kB / 3.24 GB, free: 185.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/6.211, allocations: 35.45 kB / 3.24 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/6.211, allocations: 0 / 3.24 GB, free: 185.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.628e-05/6.211, allocations: 330.9 kB / 3.24 GB, free: 185.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/6.211, allocations: 27.98 kB / 3.24 GB, free: 185.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/6.211, allocations: 109.9 kB / 3.24 GB, free: 185.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/6.212, allocations: 71.92 kB / 3.241 GB, free: 185 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/6.212, allocations: 0 / 3.241 GB, free: 185 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002908/6.212, allocations: 161.3 kB / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/6.212, allocations: 4.219 kB / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/6.212, allocations: 8 kB / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/6.212, allocations: 0 / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/6.212, allocations: 39.83 kB / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/6.212, allocations: 7.938 kB / 3.241 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/6.212, allocations: 19.98 kB / 3.241 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/6.212, allocations: 15.97 kB / 3.241 GB, free: 184.7 MB / 0.948 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 7.814e-05/6.212, allocations: 116.8 kB / 3.241 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/6.213, allocations: 15.81 kB / 3.241 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/6.213, allocations: 107 kB / 3.241 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/6.213, allocations: 4 kB / 3.241 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/6.213, allocations: 8 kB / 3.241 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/6.213, allocations: 7.891 kB / 3.241 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/6.214, allocations: 0.7228 MB / 3.242 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/6.214, allocations: 0 / 3.242 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/6.214, allocations: 28.14 kB / 3.242 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/6.214, allocations: 7.906 kB / 3.242 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/6.214, allocations: 4 kB / 3.242 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/6.214, allocations: 0 / 3.242 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/6.214, allocations: 0 / 3.242 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003893/6.214, allocations: 364 kB / 3.242 GB, free: 183.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006628/6.215, allocations: 0.8207 MB / 3.243 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/6.215, allocations: 100.9 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/6.215, allocations: 0 / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/6.215, allocations: 15.98 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/6.215, allocations: 15.95 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/6.215, allocations: 4 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.134e-05/6.215, allocations: 144.6 kB / 3.243 GB, free: 182 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001455/6.217, allocations: 235.8 kB / 3.243 GB, free: 181.8 MB / 0.948 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.001632/6.218, allocations: 1.124 MB / 3.245 GB, free: 180.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002128/6.219, allocations: 87.91 kB / 3.245 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/6.219, allocations: 0 / 3.245 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/6.219, allocations: 36.06 kB / 3.245 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/6.219, allocations: 65.38 kB / 3.245 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/6.22, allocations: 337.5 kB / 3.245 GB, free: 180.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/6.22, allocations: 0.7939 MB / 3.246 GB, free: 179.3 MB / 0.948 GB Notification: Performance of SimCode: time 4.2e-07/6.22, allocations: 0 / 3.246 GB, free: 179.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)