Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.2/2.2, allocations: 248.6 MB / 255.9 MB, free: 7.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001603/0.001603, allocations: 184.2 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.1 MB / 0.5658 GB, free: 308 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 94.5 kB / 0.67 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4744/0.4758, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.6987, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/2.182, allocations: 391.4 MB / 1.266 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/2.183, allocations: 81.36 kB / 1.266 GB, free: 248.8 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 2.609/4.792, allocations: 0.6423 GB / 1.908 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/4.792, allocations: 8 kB / 1.908 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008829/4.793, allocations: 214.2 kB / 1.908 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4885/5.282, allocations: 22.33 MB / 1.93 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/5.283, allocations: 115 kB / 1.93 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/5.283, allocations: 53.44 kB / 1.93 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002438/5.286, allocations: 440 kB / 1.931 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/5.289, allocations: 0.8186 MB / 1.931 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/5.289, allocations: 7.219 kB / 1.931 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/5.289, allocations: 3.844 kB / 1.931 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/5.289, allocations: 20.84 kB / 1.932 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/5.301, allocations: 4.183 MB / 1.936 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/5.303, allocations: 244.1 kB / 1.936 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/5.303, allocations: 141 kB / 1.936 GB, free: 262.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/5.305, allocations: 1.147 MB / 1.937 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/5.305, allocations: 45.73 kB / 1.937 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 6.071e-06/5.305, allocations: 0 / 1.937 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.003412/5.308, allocations: 454.9 kB / 1.938 GB, free: 260.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/5.308, allocations: 60.17 kB / 1.938 GB, free: 260.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/5.311, allocations: 0.6523 MB / 1.938 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002038/5.311, allocations: 25.7 kB / 1.938 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/5.311, allocations: 438.3 kB / 1.939 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/5.312, allocations: 97.77 kB / 1.939 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/5.312, allocations: 3.312 kB / 1.939 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/5.312, allocations: 325.4 kB / 1.939 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/5.312, allocations: 110.5 kB / 1.939 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/5.313, allocations: 307.9 kB / 1.939 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/5.315, allocations: 189.5 kB / 1.94 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/5.315, allocations: 0 / 1.94 GB, free: 259.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.003886/5.319, allocations: 0.5728 MB / 1.94 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/5.319, allocations: 5.812 kB / 1.94 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/5.319, allocations: 8.719 kB / 1.94 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/5.32, allocations: 122.4 kB / 1.94 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/5.322, allocations: 132.8 kB / 1.94 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/5.324, allocations: 1.729 MB / 1.942 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/5.327, allocations: 98.91 kB / 1.942 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/5.327, allocations: 29.42 kB / 1.942 GB, free: 257.9 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.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: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003748/5.327, allocations: 129.2 kB / 1.942 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/5.328, allocations: 101.6 kB / 1.943 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/5.332, allocations: 0.5868 MB / 1.943 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/5.332, allocations: 6.75 kB / 1.943 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/5.332, allocations: 3.844 kB / 1.943 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/5.332, allocations: 3.516 kB / 1.943 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/5.338, allocations: 1.339 MB / 1.944 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/5.338, allocations: 3.906 kB / 1.944 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/5.339, allocations: 83.66 kB / 1.945 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/5.34, allocations: 123.8 kB / 1.945 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/5.341, allocations: 3.25 kB / 1.945 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/5.343, allocations: 1.713 MB / 1.946 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/5.343, allocations: 4.375 kB / 1.946 GB, free: 255.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003735/5.347, allocations: 0.7361 MB / 1.947 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003953/5.351, allocations: 1.165 MB / 1.948 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/5.352, allocations: 232.4 kB / 1.948 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/5.352, allocations: 3.531 kB / 1.948 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/5.355, allocations: 88.06 kB / 1.948 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/5.355, allocations: 26.72 kB / 1.948 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/5.355, allocations: 25.45 kB / 1.949 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001532/5.357, allocations: 0.4894 MB / 1.949 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004708/5.361, allocations: 445.7 kB / 1.949 GB, free: 254.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/5.364, allocations: 0.5757 MB / 1.95 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002062/5.366, allocations: 375 kB / 1.95 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/5.366, allocations: 0 / 1.95 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009348/5.367, allocations: 215.7 kB / 1.951 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005488/5.372, allocations: 400.5 kB / 1.951 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/5.38, allocations: 1.228 MB / 1.952 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/5.381, allocations: 1.193 MB / 1.953 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.744e-06/5.381, allocations: 0 / 1.953 GB, free: 253.1 MB / 0.8698 GB