Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.188/4.188, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6136/4.802, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/5.08, allocations: 98.73 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.632/10.71, allocations: 2.188 GB / 2.816 GB, free: 138 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/10.71, allocations: 87.83 kB / 2.816 GB, free: 137.9 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 2.891/13.6, allocations: 0.5542 GB / 3.37 GB, free: 144.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/13.6, allocations: 7.875 kB / 3.37 GB, free: 144.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/13.61, allocations: 440.2 kB / 3.371 GB, free: 144.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004113/13.61, allocations: 0.892 MB / 3.371 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/13.61, allocations: 30.53 kB / 3.371 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/13.61, allocations: 42.53 kB / 3.371 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002342/13.62, allocations: 0.6507 MB / 3.372 GB, free: 144.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/13.62, allocations: 0.7735 MB / 3.373 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.241e-05/13.62, allocations: 7.312 kB / 3.373 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/13.62, allocations: 3.094 kB / 3.373 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/13.62, allocations: 32.7 kB / 3.373 GB, free: 144.4 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/13.63, allocations: 3.275 MB / 3.376 GB, free: 143 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/13.63, allocations: 387.7 kB / 3.376 GB, free: 143 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008429/13.63, allocations: 214.8 kB / 3.377 GB, free: 143 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000448/13.63, allocations: 99.27 kB / 3.377 GB, free: 142.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/13.63, allocations: 47.05 kB / 3.377 GB, free: 142.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 6.533e-06/13.63, allocations: 0 / 3.377 GB, free: 142.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=41): time 0.006365/13.64, allocations: 1.172 MB / 3.378 GB, free: 142.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/13.64, allocations: 59.19 kB / 3.378 GB, free: 142.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/13.64, allocations: 0.4932 MB / 3.379 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/13.64, allocations: 25.7 kB / 3.379 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/13.64, allocations: 379.5 kB / 3.379 GB, free: 142 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/13.64, allocations: 143.8 kB / 3.379 GB, free: 141.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/13.64, allocations: 0 / 3.379 GB, free: 141.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001548/13.64, allocations: 376.4 kB / 3.379 GB, free: 141.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/13.64, allocations: 175 kB / 3.38 GB, free: 141.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/13.64, allocations: 404.9 kB / 3.38 GB, free: 141.3 MB / 0.8386 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/13.65, allocations: 0.7578 MB / 3.381 GB, free: 141.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/13.65, allocations: 0 / 3.381 GB, free: 141.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001585/13.65, allocations: 0.6134 MB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/13.65, allocations: 4.844 kB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/13.65, allocations: 7.594 kB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/13.65, allocations: 11.81 kB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/13.65, allocations: 150.4 kB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/13.65, allocations: 16.5 kB / 3.381 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/13.65, allocations: 68.16 kB / 3.382 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/13.65, allocations: 28.28 kB / 3.382 GB, free: 141.1 MB / 0.8386 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0002191/13.65, allocations: 124.1 kB / 3.382 GB, free: 141 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/13.65, allocations: 74.03 kB / 3.382 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/13.65, allocations: 85.11 kB / 3.382 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/13.65, allocations: 7.812 kB / 3.382 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/13.65, allocations: 0 / 3.382 GB, free: 140.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/13.65, allocations: 486 kB / 3.382 GB, free: 140.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/13.66, allocations: 1.368 MB / 3.384 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/13.66, allocations: 7.109 kB / 3.384 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/13.66, allocations: 103.3 kB / 3.384 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/13.66, allocations: 7.812 kB / 3.384 GB, free: 140.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/13.66, allocations: 13.5 kB / 3.384 GB, free: 140.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/13.66, allocations: 11.66 kB / 3.384 GB, free: 140.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/13.66, allocations: 3.906 kB / 3.384 GB, free: 140.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001939/13.66, allocations: 1.016 MB / 3.385 GB, free: 139.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002986/13.66, allocations: 1.699 MB / 3.386 GB, free: 139 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008156/13.66, allocations: 202 kB / 3.387 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/13.66, allocations: 7.438 kB / 3.387 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/13.66, allocations: 55.11 kB / 3.387 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/13.66, allocations: 35 kB / 3.387 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.672e-05/13.66, allocations: 31.08 kB / 3.387 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006844/13.66, allocations: 374.9 kB / 3.387 GB, free: 138.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004743/13.67, allocations: 457.6 kB / 3.388 GB, free: 138.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.002725/13.67, allocations: 1.507 MB / 3.389 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001429/13.67, allocations: 451.9 kB / 3.389 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/13.67, allocations: 3.906 kB / 3.389 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/13.67, allocations: 207.8 kB / 3.39 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/13.68, allocations: 371.6 kB / 3.39 GB, free: 138.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/13.68, allocations: 1.372 MB / 3.391 GB, free: 137.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/13.69, allocations: 1.143 MB / 3.392 GB, free: 137.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.332e-06/13.69, allocations: 0 / 3.392 GB, free: 137.1 MB / 0.8386 GB