Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 7.082 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.000967/0.0009669, allocations: 185.2 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008877/0.0008877, allocations: 86.41 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3484/0.3493, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.5356, allocations: 106.3 MB / 0.8847 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.6, allocations: 391.7 MB / 1.267 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.601, allocations: 85.38 kB / 1.267 GB, free: 287.3 MB / 0.8698 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 1.547/3.148, allocations: 0.6423 GB / 1.909 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/3.148, allocations: 8 kB / 1.909 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/3.149, allocations: 214.2 kB / 1.91 GB, free: 20.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3653/3.514, allocations: 22.32 MB / 1.931 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003486/3.514, allocations: 116.3 kB / 1.932 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/3.514, allocations: 50 kB / 1.932 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008092/3.515, allocations: 442.4 kB / 1.932 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/3.516, allocations: 0.8137 MB / 1.933 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/3.516, allocations: 5.156 kB / 1.933 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/3.516, allocations: 3.75 kB / 1.933 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/3.516, allocations: 22.94 kB / 1.933 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/3.52, allocations: 4.199 MB / 1.937 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/3.521, allocations: 237.6 kB / 1.937 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/3.521, allocations: 144.2 kB / 1.937 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006952/3.522, allocations: 1.15 MB / 1.938 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/3.522, allocations: 40.88 kB / 1.939 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=29): time 3.276e-06/3.522, allocations: 0 / 1.939 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29): time 0.001125/3.523, allocations: 463.5 kB / 1.939 GB, free: 250.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/3.523, allocations: 55.34 kB / 1.939 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/3.524, allocations: 0.6538 MB / 1.94 GB, free: 250 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/3.524, allocations: 28.52 kB / 1.94 GB, free: 250 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/3.524, allocations: 434.4 kB / 1.94 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/3.524, allocations: 98.77 kB / 1.94 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/3.524, allocations: 0 / 1.94 GB, free: 249.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/3.524, allocations: 323.7 kB / 1.94 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/3.524, allocations: 108 kB / 1.941 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/3.524, allocations: 307.7 kB / 1.941 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/3.525, allocations: 191 kB / 1.941 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/3.525, allocations: 0 / 1.941 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001131/3.526, allocations: 0.5723 MB / 1.942 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/3.526, allocations: 3.781 kB / 1.942 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/3.526, allocations: 7.344 kB / 1.942 GB, free: 249.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000458/3.527, allocations: 120.7 kB / 1.942 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/3.527, allocations: 132.8 kB / 1.942 GB, free: 249 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008596/3.528, allocations: 1.724 MB / 1.944 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/3.529, allocations: 97.89 kB / 1.944 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.437e-05/3.529, allocations: 39.05 kB / 1.944 GB, free: 247.5 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.0001496/3.529, allocations: 129.5 kB / 1.944 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/3.529, allocations: 94.41 kB / 1.944 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/3.53, allocations: 0.5903 MB / 1.944 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/3.53, allocations: 3.75 kB / 1.944 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/3.53, allocations: 2.719 kB / 1.944 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/3.53, allocations: 7.516 kB / 1.945 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/3.532, allocations: 1.343 MB / 1.946 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/3.532, allocations: 0 / 1.946 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/3.533, allocations: 88.14 kB / 1.946 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/3.533, allocations: 120.8 kB / 1.946 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/3.533, allocations: 11.41 kB / 1.946 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007516/3.534, allocations: 1.705 MB / 1.948 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/3.534, allocations: 5.156 kB / 1.948 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001103/3.535, allocations: 0.7391 MB / 1.948 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001261/3.536, allocations: 1.162 MB / 1.95 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/3.536, allocations: 227 kB / 1.95 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/3.537, allocations: 3.031 kB / 1.95 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/3.537, allocations: 92.92 kB / 1.95 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/3.537, allocations: 29.23 kB / 1.95 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/3.537, allocations: 21.89 kB / 1.95 GB, free: 244.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005488/3.538, allocations: 0.4915 MB / 1.95 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001746/3.54, allocations: 444.2 kB / 1.951 GB, free: 243.9 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.0009003/3.541, allocations: 0.5796 MB / 1.951 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006734/3.541, allocations: 372.5 kB / 1.952 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/3.541, allocations: 0 / 1.952 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003252/3.542, allocations: 210.6 kB / 1.952 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/3.543, allocations: 391.1 kB / 1.952 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/3.545, allocations: 1.233 MB / 1.954 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005779/3.546, allocations: 1.188 MB / 1.955 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/3.546, allocations: 0 / 1.955 GB, free: 242.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)