Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.371/2.371, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001703/0.001702, allocations: 184.1 kB / 315.1 MB, free: 4.238 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.976/1.976, allocations: 205.2 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 93.69 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4832/0.4846, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.6973, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.792, allocations: 2.228 GB / 3.111 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/6.793, allocations: 91 kB / 3.111 GB, free: 141.4 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 2.072/8.864, allocations: 425.7 MB / 3.527 GB, free: 64.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/8.864, allocations: 8 kB / 3.527 GB, free: 64.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/8.867, allocations: 171.2 kB / 3.527 GB, free: 64.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/8.871, allocations: 0.7018 MB / 3.528 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/8.871, allocations: 12 kB / 3.528 GB, free: 63.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/8.871, allocations: 24 kB / 3.528 GB, free: 63.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/8.873, allocations: 293.4 kB / 3.528 GB, free: 63.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/8.874, allocations: 306.1 kB / 3.529 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/8.874, allocations: 0 / 3.529 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/8.874, allocations: 0 / 3.529 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/8.874, allocations: 8 kB / 3.529 GB, free: 62.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004004/8.878, allocations: 1.326 MB / 3.53 GB, free: 61.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/8.879, allocations: 243.1 kB / 3.53 GB, free: 61.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/8.879, allocations: 145.4 kB / 3.53 GB, free: 61.06 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/8.88, allocations: 299.5 kB / 3.531 GB, free: 60.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/8.88, allocations: 50.77 kB / 3.531 GB, free: 60.65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.847e-06/8.88, allocations: 0 / 3.531 GB, free: 60.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.003091/8.884, allocations: 499.3 kB / 3.531 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/8.884, allocations: 55.41 kB / 3.531 GB, free: 60.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/8.884, allocations: 211.6 kB / 3.531 GB, free: 59.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.978e-05/8.884, allocations: 25.7 kB / 3.531 GB, free: 59.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/8.884, allocations: 184.4 kB / 3.532 GB, free: 59.67 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/8.885, allocations: 118.3 kB / 3.532 GB, free: 59.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/8.885, allocations: 0 / 3.532 GB, free: 59.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/8.885, allocations: 338.8 kB / 3.532 GB, free: 59.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/8.885, allocations: 104 kB / 3.532 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/8.886, allocations: 168.9 kB / 3.532 GB, free: 58.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/8.888, allocations: 287.6 kB / 3.533 GB, free: 58.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/8.888, allocations: 0 / 3.533 GB, free: 58.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002597/8.89, allocations: 488.7 kB / 3.533 GB, free: 58.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/8.89, allocations: 8 kB / 3.533 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/8.89, allocations: 3.906 kB / 3.533 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/8.89, allocations: 0 / 3.533 GB, free: 58.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/8.891, allocations: 71.84 kB / 3.533 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/8.891, allocations: 32 / 3.533 GB, free: 58.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/8.892, allocations: 43.75 kB / 3.533 GB, free: 58.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.209e-05/8.892, allocations: 19.98 kB / 3.533 GB, free: 58.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0001736/8.892, allocations: 112.8 kB / 3.533 GB, free: 57.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/8.893, allocations: 31.62 kB / 3.533 GB, free: 57.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/8.896, allocations: 0.5239 MB / 3.534 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/8.896, allocations: 7.906 kB / 3.534 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/8.896, allocations: 0 / 3.534 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/8.896, allocations: 3.984 kB / 3.534 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/8.9, allocations: 1.078 MB / 3.535 GB, free: 56.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/8.9, allocations: 4 kB / 3.535 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/8.901, allocations: 68.12 kB / 3.535 GB, free: 56.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/8.901, allocations: 4 kB / 3.535 GB, free: 56.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/8.901, allocations: 7.984 kB / 3.535 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/8.901, allocations: 80 / 3.535 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/8.901, allocations: 7.984 kB / 3.535 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00328/8.905, allocations: 0.868 MB / 3.536 GB, free: 55.14 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004362/8.909, allocations: 1.498 MB / 3.537 GB, free: 53.55 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/8.91, allocations: 140.5 kB / 3.537 GB, free: 53.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/8.91, allocations: 7.984 kB / 3.537 GB, free: 53.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/8.911, allocations: 23.98 kB / 3.537 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/8.911, allocations: 19.97 kB / 3.537 GB, free: 53.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/8.911, allocations: 16 kB / 3.537 GB, free: 53.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000319/8.911, allocations: 171.1 kB / 3.538 GB, free: 53.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0041/8.915, allocations: 411.5 kB / 3.538 GB, free: 52.76 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.003761/8.919, allocations: 1.716 MB / 3.54 GB, free: 50.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001185/8.92, allocations: 300.3 kB / 3.54 GB, free: 50.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/8.92, allocations: 0 / 3.54 GB, free: 50.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/8.921, allocations: 159.9 kB / 3.54 GB, free: 50.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/8.923, allocations: 105 kB / 3.54 GB, free: 50.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/8.926, allocations: 0.7734 MB / 3.541 GB, free: 49.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009534/8.927, allocations: 0.8967 MB / 3.542 GB, free: 48.68 MB / 0.8698 GB Notification: Performance of SimCode: time 1.833e-06/8.927, allocations: 0 / 3.542 GB, free: 48.68 MB / 0.8698 GB