Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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 2.028/2.028, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001245/0.001245, allocations: 177.2 kB / 490.8 MB, free: 1.926 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.581/1.581, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 94.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6613/0.6623, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.9526, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.293/5.246, allocations: 1.913 GB / 3.125 GB, free: 424.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/5.246, allocations: 87.95 kB / 3.125 GB, free: 424.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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 1.338/6.584, allocations: 443.2 MB / 3.558 GB, free: 294.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/6.584, allocations: 7.812 kB / 3.558 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/6.585, allocations: 165.6 kB / 3.558 GB, free: 294.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/6.587, allocations: 0.6908 MB / 3.558 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/6.587, allocations: 11.34 kB / 3.558 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/6.587, allocations: 25.06 kB / 3.558 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004928/6.587, allocations: 251.3 kB / 3.559 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/6.588, allocations: 370.9 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/6.588, allocations: 0 / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/6.588, allocations: 0 / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/6.588, allocations: 11.78 kB / 3.559 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/6.59, allocations: 1.923 MB / 3.561 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/6.59, allocations: 186.5 kB / 3.561 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/6.59, allocations: 119.8 kB / 3.561 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004985/6.591, allocations: 307.9 kB / 3.561 GB, free: 292.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/6.591, allocations: 34.66 kB / 3.561 GB, free: 292.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 2.455e-06/6.591, allocations: 6.844 kB / 3.561 GB, free: 292.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001026/6.592, allocations: 399.7 kB / 3.562 GB, free: 292.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/6.592, allocations: 55.31 kB / 3.562 GB, free: 292.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/6.592, allocations: 228.4 kB / 3.562 GB, free: 292 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/6.592, allocations: 25.7 kB / 3.562 GB, free: 292 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/6.592, allocations: 210.1 kB / 3.562 GB, free: 291.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/6.592, allocations: 85.34 kB / 3.562 GB, free: 291.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/6.592, allocations: 0 / 3.562 GB, free: 291.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/6.592, allocations: 345.5 kB / 3.563 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/6.593, allocations: 84.77 kB / 3.563 GB, free: 291.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/6.593, allocations: 178.2 kB / 3.563 GB, free: 291.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/6.593, allocations: 227.2 kB / 3.563 GB, free: 291.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/6.593, allocations: 3.594 kB / 3.563 GB, free: 291.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007127/6.594, allocations: 410.4 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/6.594, allocations: 6.875 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/6.594, allocations: 7.688 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/6.594, allocations: 3.938 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/6.594, allocations: 66.16 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/6.594, allocations: 0 / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/6.595, allocations: 42.98 kB / 3.564 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/6.595, allocations: 19.03 kB / 3.564 GB, free: 291.4 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 (31): * Single equations (assignments): 31 * 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 8.273e-05/6.595, allocations: 110.5 kB / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/6.595, allocations: 30.59 kB / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008165/6.596, allocations: 426 kB / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/6.596, allocations: 3.938 kB / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/6.596, allocations: 0 / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/6.596, allocations: 0 / 3.564 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/6.597, allocations: 0.939 MB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/6.597, allocations: 10.66 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/6.597, allocations: 53.31 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/6.598, allocations: 3.875 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/6.598, allocations: 3.562 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/6.598, allocations: 3.562 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/6.598, allocations: 3.469 kB / 3.565 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009941/6.599, allocations: 0.7467 MB / 3.566 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001477/6.6, allocations: 1.338 MB / 3.567 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/6.6, allocations: 131.6 kB / 3.567 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/6.6, allocations: 3.875 kB / 3.567 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/6.601, allocations: 28.34 kB / 3.568 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/6.601, allocations: 22.83 kB / 3.568 GB, free: 289.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/6.601, allocations: 11.31 kB / 3.568 GB, free: 289.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000132/6.601, allocations: 179.8 kB / 3.568 GB, free: 289.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001733/6.603, allocations: 406.4 kB / 3.568 GB, free: 289.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002233/6.605, allocations: 1.722 MB / 3.57 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003662/6.605, allocations: 230.2 kB / 3.57 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/6.605, allocations: 0 / 3.57 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/6.605, allocations: 125.8 kB / 3.57 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/6.606, allocations: 116 kB / 3.57 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/6.607, allocations: 0.5667 MB / 3.571 GB, free: 289 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/6.607, allocations: 0.8819 MB / 3.572 GB, free: 288.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/6.607, allocations: 0 / 3.572 GB, free: 288.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)