Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Humidifiers.Examples.Humidifier_u.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.Humidifiers.Examples.Humidifier_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Humidifiers_Examples_Humidifier_u",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 3.831/3.831, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5371/4.368, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/4.596, allocations: 98.73 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.373/9.969, allocations: 2.2 GB / 2.829 GB, free: 146.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/9.969, allocations: 90.08 kB / 2.829 GB, free: 146.5 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 4.506/14.48, allocations: 1.008 GB / 3.837 GB, free: 70.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/14.48, allocations: 8 kB / 3.837 GB, free: 70.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006546/14.48, allocations: 0.6268 MB / 3.838 GB, free: 69.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/14.49, allocations: 1.484 MB / 3.839 GB, free: 68.06 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006844/14.49, allocations: 118.3 kB / 3.839 GB, free: 67.95 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/14.49, allocations: 79.91 kB / 3.839 GB, free: 67.87 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003471/14.49, allocations: 1.025 MB / 3.84 GB, free: 66.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003522/14.5, allocations: 1.235 MB / 3.841 GB, free: 65.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/14.5, allocations: 0 / 3.841 GB, free: 65.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/14.5, allocations: 7.984 kB / 3.841 GB, free: 65.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/14.5, allocations: 46.2 kB / 3.841 GB, free: 65.48 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/14.51, allocations: 6.129 MB / 3.847 GB, free: 59.12 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/14.51, allocations: 0.5359 MB / 3.848 GB, free: 58.58 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/14.51, allocations: 448.7 kB / 3.848 GB, free: 58.14 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/14.51, allocations: 490.1 kB / 3.849 GB, free: 57.57 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/14.52, allocations: 0.4922 MB / 3.849 GB, free: 57.05 MB / 0.823 GB Notification: Performance of pre-optimization done (n=79): time 4.449e-06/14.52, allocations: 0 / 3.849 GB, free: 57.05 MB / 0.823 GB Notification: Performance of matching and sorting (n=79): time 0.004895/14.52, allocations: 1.102 MB / 3.85 GB, free: 55.95 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/14.52, allocations: 196.6 kB / 3.851 GB, free: 55.71 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/14.52, allocations: 0.9361 MB / 3.851 GB, free: 54.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/14.52, allocations: 29.7 kB / 3.851 GB, free: 54.73 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/14.52, allocations: 0.5087 MB / 3.852 GB, free: 54.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/14.52, allocations: 256.2 kB / 3.852 GB, free: 53.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/14.52, allocations: 0 / 3.852 GB, free: 53.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/14.52, allocations: 341.9 kB / 3.853 GB, free: 53.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/14.53, allocations: 325.7 kB / 3.853 GB, free: 53.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/14.53, allocations: 0.5676 MB / 3.853 GB, free: 52.64 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/14.53, allocations: 464 kB / 3.854 GB, free: 52.18 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/14.53, allocations: 7.906 kB / 3.854 GB, free: 52.18 MB / 0.823 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003558/14.53, allocations: 1.099 MB / 3.855 GB, free: 51.07 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/14.53, allocations: 1.698 MB / 3.857 GB, free: 49.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/14.53, allocations: 4 kB / 3.857 GB, free: 49.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/14.53, allocations: 48.84 kB / 3.857 GB, free: 49.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/14.53, allocations: 211.7 kB / 3.857 GB, free: 49.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006108/14.53, allocations: 0.6031 MB / 3.857 GB, free: 48.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/14.54, allocations: 167.3 kB / 3.858 GB, free: 48.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/14.54, allocations: 35.98 kB / 3.858 GB, free: 48.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/14.54, allocations: 7.906 kB / 3.858 GB, free: 48.18 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002827/14.54, allocations: 0.8937 MB / 3.859 GB, free: 47.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/14.54, allocations: 4 kB / 3.859 GB, free: 47.29 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/14.54, allocations: 48.89 kB / 3.859 GB, free: 47.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/14.54, allocations: 200.1 kB / 3.859 GB, free: 47.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/14.54, allocations: 1.466 MB / 3.86 GB, free: 45.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/14.55, allocations: 143.4 kB / 3.86 GB, free: 45.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/14.55, allocations: 36.05 kB / 3.86 GB, free: 45.28 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004117/14.55, allocations: 172.1 kB / 3.861 GB, free: 45.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/14.55, allocations: 150.2 kB / 3.861 GB, free: 44.95 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/14.55, allocations: 1.046 MB / 3.862 GB, free: 43.89 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/14.55, allocations: 12 kB / 3.862 GB, free: 43.88 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/14.55, allocations: 3.906 kB / 3.862 GB, free: 43.88 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/14.55, allocations: 0.9317 MB / 3.863 GB, free: 42.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007115/14.56, allocations: 2.525 MB / 3.865 GB, free: 40.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/14.56, allocations: 0 / 3.865 GB, free: 40.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/14.56, allocations: 196 kB / 3.865 GB, free: 40.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001551/14.56, allocations: 36.84 kB / 3.865 GB, free: 40.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/14.56, allocations: 19.89 kB / 3.865 GB, free: 40.08 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004422/14.56, allocations: 0.5952 MB / 3.866 GB, free: 39.46 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/14.56, allocations: 4 kB / 3.866 GB, free: 39.45 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004105/14.57, allocations: 1.806 MB / 3.868 GB, free: 37.52 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005788/14.57, allocations: 2.862 MB / 3.87 GB, free: 34.55 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/14.58, allocations: 339 kB / 3.871 GB, free: 34.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/14.58, allocations: 12.12 kB / 3.871 GB, free: 34.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/14.58, allocations: 131.7 kB / 3.871 GB, free: 34.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/14.58, allocations: 48.5 kB / 3.871 GB, free: 34.01 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/14.58, allocations: 33.08 kB / 3.871 GB, free: 33.98 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001535/14.58, allocations: 0.7229 MB / 3.872 GB, free: 33.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008335/14.59, allocations: 1.556 MB / 3.873 GB, free: 31.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (senTem1.T,con1.I.y,humDyn.vol.dynBal.U,humDyn.vol.dynBal.mXi[1],senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00466/14.59, allocations: 2.619 MB / 3.876 GB, free: 28.99 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003904/14.6, allocations: 1.505 MB / 3.877 GB, free: 27.46 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/14.6, allocations: 7.938 kB / 3.877 GB, free: 27.46 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/14.6, allocations: 489 kB / 3.878 GB, free: 26.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00624/14.6, allocations: 0.6742 MB / 3.878 GB, free: 26.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/14.62, allocations: 2.569 MB / 3.881 GB, free: 23.66 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/14.62, allocations: 1.493 MB / 3.882 GB, free: 22.14 MB / 0.823 GB Notification: Performance of SimCode: time 1.774e-06/14.62, allocations: 0 / 3.882 GB, free: 22.14 MB / 0.823 GB