Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.706/3.706, allocations: 433 MB / 440.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5638/4.27, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/4.507, allocations: 98.72 MB / 0.6283 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.392/9.899, allocations: 2.188 GB / 2.816 GB, free: 148.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/9.9, allocations: 83.7 kB / 2.816 GB, free: 148.1 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.75/11.65, allocations: 378.4 MB / 3.186 GB, free: 105 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/11.65, allocations: 11.94 kB / 3.186 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/11.65, allocations: 275 kB / 3.186 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/11.65, allocations: 496.2 kB / 3.186 GB, free: 104.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/11.65, allocations: 100.9 kB / 3.186 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/11.65, allocations: 24 kB / 3.186 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/11.66, allocations: 381.9 kB / 3.187 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/11.66, allocations: 0.4886 MB / 3.187 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/11.66, allocations: 7.938 kB / 3.187 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/11.66, allocations: 0 / 3.187 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.588e-05/11.66, allocations: 20.98 kB / 3.187 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/11.66, allocations: 2.145 MB / 3.189 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/11.66, allocations: 142.5 kB / 3.19 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/11.66, allocations: 72.84 kB / 3.19 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/11.66, allocations: 0 / 3.19 GB, free: 100.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/11.66, allocations: 42.55 kB / 3.19 GB, free: 100.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/11.66, allocations: 0 / 3.19 GB, free: 100.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.003218/11.67, allocations: 413.6 kB / 3.19 GB, free: 100.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/11.67, allocations: 81.11 kB / 3.19 GB, free: 100.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000651/11.67, allocations: 353 kB / 3.19 GB, free: 99.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-05/11.67, allocations: 25.7 kB / 3.19 GB, free: 99.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/11.67, allocations: 279.2 kB / 3.191 GB, free: 99.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/11.67, allocations: 39.45 kB / 3.191 GB, free: 99.39 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/11.67, allocations: 7.938 kB / 3.191 GB, free: 99.39 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/11.67, allocations: 346.8 kB / 3.191 GB, free: 99.04 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/11.67, allocations: 92.53 kB / 3.191 GB, free: 98.95 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/11.67, allocations: 236.5 kB / 3.191 GB, free: 98.64 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/11.67, allocations: 135.9 kB / 3.192 GB, free: 98.51 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/11.67, allocations: 4 kB / 3.192 GB, free: 98.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.003344/11.67, allocations: 0.5408 MB / 3.192 GB, free: 97.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/11.67, allocations: 4 kB / 3.192 GB, free: 97.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/11.67, allocations: 4 kB / 3.192 GB, free: 97.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/11.67, allocations: 136.9 kB / 3.192 GB, free: 97.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/11.67, allocations: 87.8 kB / 3.192 GB, free: 97.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/11.68, allocations: 1.72 MB / 3.194 GB, free: 95.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/11.68, allocations: 79.7 kB / 3.194 GB, free: 95.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/11.68, allocations: 24.05 kB / 3.194 GB, free: 95.79 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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.0001978/11.68, allocations: 113 kB / 3.194 GB, free: 95.68 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/11.68, allocations: 43.52 kB / 3.194 GB, free: 95.63 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/11.68, allocations: 51.38 kB / 3.194 GB, free: 95.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/11.68, allocations: 3.906 kB / 3.194 GB, free: 95.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/11.68, allocations: 0 / 3.194 GB, free: 95.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/11.68, allocations: 0 / 3.194 GB, free: 95.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003907/11.68, allocations: 0.8969 MB / 3.195 GB, free: 94.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/11.68, allocations: 96 / 3.195 GB, free: 94.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/11.68, allocations: 55.86 kB / 3.195 GB, free: 94.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/11.68, allocations: 124.8 kB / 3.195 GB, free: 94.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/11.68, allocations: 0 / 3.195 GB, free: 94.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/11.69, allocations: 1.705 MB / 3.197 GB, free: 92.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/11.69, allocations: 0 / 3.197 GB, free: 92.62 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003083/11.69, allocations: 0.5554 MB / 3.198 GB, free: 92.03 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003443/11.69, allocations: 0.9542 MB / 3.198 GB, free: 91.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/11.7, allocations: 156.5 kB / 3.199 GB, free: 90.86 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/11.7, allocations: 4 kB / 3.199 GB, free: 90.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/11.7, allocations: 71.78 kB / 3.199 GB, free: 90.79 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/11.7, allocations: 7.984 kB / 3.199 GB, free: 90.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/11.7, allocations: 11.98 kB / 3.199 GB, free: 90.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004308/11.7, allocations: 263.2 kB / 3.199 GB, free: 90.51 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002507/11.7, allocations: 343.5 kB / 3.199 GB, free: 90.18 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.001933/11.7, allocations: 1.146 MB / 3.2 GB, free: 89.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00101/11.7, allocations: 329.4 kB / 3.201 GB, free: 88.69 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/11.7, allocations: 5.25 kB / 3.201 GB, free: 88.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/11.7, allocations: 193.9 kB / 3.201 GB, free: 88.48 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/11.71, allocations: 161.4 kB / 3.201 GB, free: 88.33 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/11.71, allocations: 0.7413 MB / 3.202 GB, free: 87.56 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006105/11.71, allocations: 0.9123 MB / 3.203 GB, free: 86.62 MB / 0.823 GB Notification: Performance of SimCode: time 1.863e-06/11.71, allocations: 192 / 3.203 GB, free: 86.62 MB / 0.823 GB