Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.165/4.165, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5517/4.717, allocations: 104.3 MB / 0.5319 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/4.994, allocations: 98.72 MB / 0.6283 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.501/10.49, allocations: 2.223 GB / 2.851 GB, free: 125.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/10.5, allocations: 94.48 kB / 2.851 GB, free: 125.3 MB / 0.823 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.891/12.39, allocations: 425.7 MB / 3.267 GB, free: 33.78 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/12.39, allocations: 8 kB / 3.267 GB, free: 33.77 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/12.39, allocations: 167.2 kB / 3.267 GB, free: 33.61 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/12.39, allocations: 423.2 kB / 3.268 GB, free: 33.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/12.39, allocations: 12 kB / 3.268 GB, free: 33.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/12.39, allocations: 28.22 kB / 3.268 GB, free: 33.12 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009329/12.39, allocations: 309.5 kB / 3.268 GB, free: 32.81 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/12.39, allocations: 310.1 kB / 3.268 GB, free: 32.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/12.39, allocations: 0 / 3.268 GB, free: 32.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/12.39, allocations: 4 kB / 3.268 GB, free: 32.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/12.39, allocations: 8 kB / 3.268 GB, free: 32.49 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003105/12.39, allocations: 1.328 MB / 3.27 GB, free: 31.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/12.4, allocations: 278.9 kB / 3.27 GB, free: 30.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/12.4, allocations: 153.4 kB / 3.27 GB, free: 30.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007699/12.4, allocations: 307.5 kB / 3.27 GB, free: 30.28 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/12.4, allocations: 38.78 kB / 3.27 GB, free: 30.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/12.4, allocations: 4 kB / 3.27 GB, free: 30.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.00216/12.4, allocations: 0.4993 MB / 3.271 GB, free: 29.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/12.4, allocations: 55.41 kB / 3.271 GB, free: 29.66 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/12.4, allocations: 219.6 kB / 3.271 GB, free: 29.44 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/12.4, allocations: 25.7 kB / 3.271 GB, free: 29.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/12.4, allocations: 184.4 kB / 3.271 GB, free: 29.22 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/12.4, allocations: 114.3 kB / 3.271 GB, free: 29.11 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/12.4, allocations: 0 / 3.271 GB, free: 29.11 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/12.4, allocations: 346.8 kB / 3.272 GB, free: 28.76 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003294/12.4, allocations: 116.6 kB / 3.272 GB, free: 28.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/12.4, allocations: 168.3 kB / 3.272 GB, free: 28.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/12.4, allocations: 316.1 kB / 3.272 GB, free: 28.16 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/12.4, allocations: 4 kB / 3.272 GB, free: 28.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001839/12.4, allocations: 0.5163 MB / 3.273 GB, free: 27.63 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/12.4, allocations: 7.906 kB / 3.273 GB, free: 27.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/12.4, allocations: 4 kB / 3.273 GB, free: 27.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/12.4, allocations: 0 / 3.273 GB, free: 27.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/12.4, allocations: 67.91 kB / 3.273 GB, free: 27.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/12.4, allocations: 3.938 kB / 3.273 GB, free: 27.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005873/12.41, allocations: 47.78 kB / 3.273 GB, free: 27.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/12.41, allocations: 15.91 kB / 3.273 GB, free: 27.49 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * 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.0001232/12.41, allocations: 108.9 kB / 3.273 GB, free: 27.38 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/12.41, allocations: 39.62 kB / 3.273 GB, free: 27.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/12.41, allocations: 0.5276 MB / 3.274 GB, free: 26.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/12.41, allocations: 7.984 kB / 3.274 GB, free: 26.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/12.41, allocations: 0 / 3.274 GB, free: 26.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/12.41, allocations: 0 / 3.274 GB, free: 26.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/12.41, allocations: 1.082 MB / 3.275 GB, free: 25.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/12.41, allocations: 4 kB / 3.275 GB, free: 25.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/12.41, allocations: 72.12 kB / 3.275 GB, free: 25.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/12.41, allocations: 4 kB / 3.275 GB, free: 25.57 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/12.41, allocations: 7.984 kB / 3.275 GB, free: 25.56 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/12.41, allocations: 4 kB / 3.275 GB, free: 25.56 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/12.41, allocations: 0 / 3.275 GB, free: 25.56 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002097/12.41, allocations: 0.8925 MB / 3.276 GB, free: 24.59 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00291/12.42, allocations: 1.529 MB / 3.277 GB, free: 22.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/12.42, allocations: 144.5 kB / 3.277 GB, free: 22.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/12.42, allocations: 4 kB / 3.277 GB, free: 22.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/12.42, allocations: 19.98 kB / 3.277 GB, free: 22.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/12.42, allocations: 27.97 kB / 3.277 GB, free: 22.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/12.42, allocations: 15.89 kB / 3.277 GB, free: 22.75 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000217/12.42, allocations: 171.1 kB / 3.278 GB, free: 22.58 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002387/12.42, allocations: 427.6 kB / 3.278 GB, free: 22.16 MB / 0.823 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.002669/12.42, allocations: 1.75 MB / 3.28 GB, free: 20.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0009851/12.42, allocations: 363.5 kB / 3.28 GB, free: 19.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/12.42, allocations: 4.062 kB / 3.28 GB, free: 19.96 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/12.42, allocations: 163.8 kB / 3.28 GB, free: 19.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/12.43, allocations: 116 kB / 3.28 GB, free: 19.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/12.43, allocations: 0.7934 MB / 3.281 GB, free: 18.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/12.43, allocations: 0.8889 MB / 3.282 GB, free: 17.95 MB / 0.823 GB Notification: Performance of SimCode: time 1.573e-06/12.43, allocations: 0 / 3.282 GB, free: 17.95 MB / 0.823 GB