Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7771/0.7771, allocations: 141.8 MB / 149.1 MB, free: 0.8594 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 183.2 kB / 182 MB, free: 13.02 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 221.3 MB / 436 MB, free: 5.824 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009367, allocations: 89.58 kB / 0.507 GB, free: 19.23 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 271.6 kB / 0.5885 GB, free: 6.965 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3535/0.3553, allocations: 89.65 MB / 0.676 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.5042, allocations: 82.77 MB / 0.7568 GB, free: 88.95 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.189/3.693, allocations: 1.872 GB / 2.629 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/3.693, allocations: 89.3 kB / 2.629 GB, free: 146.8 MB / 0.6982 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.41/5.103, allocations: 443.3 MB / 3.062 GB, free: 149.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/5.103, allocations: 11.88 kB / 3.062 GB, free: 149.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/5.105, allocations: 165.4 kB / 3.062 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/5.106, allocations: 0.6798 MB / 3.063 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/5.106, allocations: 16.28 kB / 3.063 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/5.107, allocations: 25.92 kB / 3.063 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004868/5.107, allocations: 254.4 kB / 3.063 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/5.108, allocations: 366 kB / 3.064 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/5.108, allocations: 6.812 kB / 3.064 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/5.108, allocations: 3.703 kB / 3.064 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/5.108, allocations: 10.5 kB / 3.064 GB, free: 149.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/5.11, allocations: 1.928 MB / 3.066 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/5.11, allocations: 186.8 kB / 3.066 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/5.11, allocations: 120.8 kB / 3.066 GB, free: 147.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/5.111, allocations: 309.1 kB / 3.066 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/5.111, allocations: 40.81 kB / 3.066 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=24): time 2.715e-06/5.111, allocations: 0 / 3.066 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=24): time 0.0009782/5.112, allocations: 399.6 kB / 3.067 GB, free: 147.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/5.112, allocations: 55.31 kB / 3.067 GB, free: 147.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/5.112, allocations: 227.7 kB / 3.067 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/5.112, allocations: 28.83 kB / 3.067 GB, free: 147.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/5.112, allocations: 205 kB / 3.067 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/5.112, allocations: 77.77 kB / 3.067 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/5.112, allocations: 0 / 3.067 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/5.112, allocations: 349.9 kB / 3.068 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/5.112, allocations: 84.81 kB / 3.068 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/5.112, allocations: 175.3 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/5.113, allocations: 233.5 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.113, allocations: 0 / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007406/5.114, allocations: 414.6 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/5.114, allocations: 3.812 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/5.114, allocations: 3.5 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/5.114, allocations: 4.094 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/5.114, allocations: 62.42 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/5.114, allocations: 6.438 kB / 3.068 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/5.114, allocations: 46.81 kB / 3.069 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/5.114, allocations: 14.03 kB / 3.069 GB, free: 146.6 MB / 0.6982 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 7.696e-05/5.114, allocations: 108.4 kB / 3.069 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/5.115, allocations: 31.31 kB / 3.069 GB, free: 146.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/5.115, allocations: 429.7 kB / 3.069 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/5.115, allocations: 3.625 kB / 3.069 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/5.115, allocations: 3.797 kB / 3.069 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/5.115, allocations: 0 / 3.069 GB, free: 146.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/5.117, allocations: 0.9392 MB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/5.117, allocations: 0 / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/5.117, allocations: 62 kB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/5.117, allocations: 3.406 kB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/5.117, allocations: 3.906 kB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/5.117, allocations: 4.859 kB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/5.117, allocations: 7.25 kB / 3.07 GB, free: 146.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001002/5.118, allocations: 0.7396 MB / 3.071 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00153/5.12, allocations: 1.341 MB / 3.072 GB, free: 145.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/5.12, allocations: 134.7 kB / 3.072 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/5.12, allocations: 3.875 kB / 3.072 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/5.12, allocations: 28.42 kB / 3.072 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/5.12, allocations: 20.81 kB / 3.072 GB, free: 145 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/5.12, allocations: 7.906 kB / 3.072 GB, free: 145 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001545/5.12, allocations: 178.7 kB / 3.072 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001926/5.122, allocations: 407 kB / 3.073 GB, free: 144.9 MB / 0.6982 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.002349/5.125, allocations: 1.712 MB / 3.075 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0003934/5.125, allocations: 250.1 kB / 3.075 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.125, allocations: 1.5 kB / 3.075 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/5.125, allocations: 118.8 kB / 3.075 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006473/5.126, allocations: 121.9 kB / 3.075 GB, free: 144.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/5.127, allocations: 0.5618 MB / 3.076 GB, free: 144.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/5.128, allocations: 0.8735 MB / 3.076 GB, free: 143.5 MB / 0.6982 GB Notification: Performance of SimCode: time 5.92e-07/5.128, allocations: 3.562 kB / 3.076 GB, free: 143.5 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)