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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.93/3.93, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5549/4.485, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/4.73, allocations: 98.73 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/10.23, allocations: 2.187 GB / 2.815 GB, free: 160.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/10.23, allocations: 88.58 kB / 2.816 GB, free: 160.4 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 2.734/12.96, allocations: 0.5532 GB / 3.369 GB, free: 195.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/12.96, allocations: 10.34 kB / 3.369 GB, free: 195.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/12.97, allocations: 445.2 kB / 3.369 GB, free: 195.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/12.97, allocations: 0.8976 MB / 3.37 GB, free: 195.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/12.97, allocations: 21.97 kB / 3.37 GB, free: 195.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/12.97, allocations: 44.97 kB / 3.37 GB, free: 195.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/12.97, allocations: 0.6455 MB / 3.371 GB, free: 195.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/12.97, allocations: 0.7678 MB / 3.372 GB, free: 195.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/12.97, allocations: 7.547 kB / 3.372 GB, free: 195.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/12.97, allocations: 0 / 3.372 GB, free: 195.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/12.97, allocations: 35.91 kB / 3.372 GB, free: 195.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008661/12.98, allocations: 3.251 MB / 3.375 GB, free: 193.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/12.98, allocations: 384.4 kB / 3.375 GB, free: 193.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/12.98, allocations: 201.8 kB / 3.375 GB, free: 193.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/12.98, allocations: 104.4 kB / 3.375 GB, free: 193.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/12.98, allocations: 49.16 kB / 3.375 GB, free: 193.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 3.306e-06/12.98, allocations: 0 / 3.375 GB, free: 193.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=41): time 0.005627/12.99, allocations: 1.25 MB / 3.377 GB, free: 193.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/12.99, allocations: 61.22 kB / 3.377 GB, free: 193.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/12.99, allocations: 498.7 kB / 3.377 GB, free: 193.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/12.99, allocations: 29.33 kB / 3.377 GB, free: 193.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/12.99, allocations: 375.5 kB / 3.378 GB, free: 192.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/12.99, allocations: 147.5 kB / 3.378 GB, free: 192.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/12.99, allocations: 0 / 3.378 GB, free: 192.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001275/12.99, allocations: 380.5 kB / 3.378 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/12.99, allocations: 161.6 kB / 3.378 GB, free: 192.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/12.99, allocations: 392.2 kB / 3.379 GB, free: 192.2 MB / 0.823 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.003816/13, allocations: 0.7557 MB / 3.379 GB, free: 192.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/13, allocations: 7.75 kB / 3.379 GB, free: 192.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003029/13, allocations: 0.6908 MB / 3.38 GB, free: 192 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/13, allocations: 5.844 kB / 3.38 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/13, allocations: 10.84 kB / 3.38 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/13, allocations: 104.2 kB / 3.38 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/13, allocations: 132.7 kB / 3.38 GB, free: 192 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/13.01, allocations: 1.594 MB / 3.382 GB, free: 190.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/13.01, allocations: 62.55 kB / 3.382 GB, free: 190.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/13.01, allocations: 27.84 kB / 3.382 GB, free: 190.8 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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: 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.0003004/13.01, allocations: 132.4 kB / 3.382 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/13.01, allocations: 75.03 kB / 3.382 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/13.01, allocations: 89.64 kB / 3.382 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/13.01, allocations: 3.844 kB / 3.382 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/13.01, allocations: 0 / 3.382 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002294/13.01, allocations: 0.5645 MB / 3.383 GB, free: 190.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/13.02, allocations: 1.455 MB / 3.384 GB, free: 190.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/13.02, allocations: 3.062 kB / 3.384 GB, free: 190.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/13.02, allocations: 104.7 kB / 3.384 GB, free: 190.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/13.02, allocations: 96.05 kB / 3.384 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-05/13.02, allocations: 6.531 kB / 3.384 GB, free: 190 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002756/13.02, allocations: 1.586 MB / 3.386 GB, free: 188.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/13.02, allocations: 3.781 kB / 3.386 GB, free: 188.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003311/13.03, allocations: 1.097 MB / 3.387 GB, free: 188.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004227/13.03, allocations: 1.762 MB / 3.389 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007214/13.03, allocations: 212.3 kB / 3.389 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/13.03, allocations: 3.938 kB / 3.389 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/13.03, allocations: 57.28 kB / 3.389 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/13.03, allocations: 29.44 kB / 3.389 GB, free: 187.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/13.03, allocations: 24.97 kB / 3.389 GB, free: 187.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.000716/13.03, allocations: 385.6 kB / 3.389 GB, free: 187.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003463/13.04, allocations: 483.9 kB / 3.39 GB, free: 187.2 MB / 0.823 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 (37): * Single equations (assignments): 36 * 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: 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.002995/13.04, allocations: 1.495 MB / 3.391 GB, free: 186.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001662/13.04, allocations: 0.5322 MB / 3.392 GB, free: 186.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/13.04, allocations: 3.938 kB / 3.392 GB, free: 186.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007289/13.04, allocations: 320.1 kB / 3.392 GB, free: 186.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/13.05, allocations: 387.2 kB / 3.393 GB, free: 186.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/13.05, allocations: 1.377 MB / 3.394 GB, free: 186.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/13.05, allocations: 1.138 MB / 3.395 GB, free: 185.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.413e-06/13.05, allocations: 0 / 3.395 GB, free: 185.5 MB / 0.823 GB