Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.158/2.158, allocations: 390.4 MB / 397.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 189.2 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.02 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8086/0.8098, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/1.107, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.221/2.328, allocations: 410.8 MB / 1.613 GB, free: 4.59 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/2.328, allocations: 90.62 kB / 1.613 GB, free: 4.543 MB / 1.026 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 3.069/5.397, allocations: 0.6677 GB / 2.281 GB, free: 279.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/5.397, allocations: 13.5 kB / 2.281 GB, free: 279.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/5.398, allocations: 218.4 kB / 2.281 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06406/5.462, allocations: 23.48 MB / 2.304 GB, free: 278.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004574/5.463, allocations: 109.1 kB / 2.304 GB, free: 278.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/5.463, allocations: 49.91 kB / 2.304 GB, free: 278.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/5.465, allocations: 447.2 kB / 2.304 GB, free: 278.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/5.466, allocations: 0.8196 MB / 2.305 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/5.467, allocations: 3.375 kB / 2.305 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/5.467, allocations: 7.391 kB / 2.305 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/5.467, allocations: 23.5 kB / 2.305 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006778/5.473, allocations: 4.33 MB / 2.309 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/5.474, allocations: 237.5 kB / 2.31 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/5.474, allocations: 150 kB / 2.31 GB, free: 275.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008811/5.475, allocations: 1.149 MB / 2.311 GB, free: 274.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/5.475, allocations: 38.03 kB / 2.311 GB, free: 274.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 2.655e-06/5.475, allocations: 0 / 2.311 GB, free: 274.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.001621/5.477, allocations: 456.2 kB / 2.311 GB, free: 274.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/5.477, allocations: 59.31 kB / 2.311 GB, free: 274.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/5.478, allocations: 0.6591 MB / 2.312 GB, free: 274 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.681e-05/5.478, allocations: 31.39 kB / 2.312 GB, free: 274 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/5.479, allocations: 442.2 kB / 2.313 GB, free: 273.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/5.479, allocations: 96.5 kB / 2.313 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/5.479, allocations: 0 / 2.313 GB, free: 273.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/5.479, allocations: 332.4 kB / 2.313 GB, free: 273.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/5.479, allocations: 107.5 kB / 2.313 GB, free: 273.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/5.479, allocations: 308.3 kB / 2.313 GB, free: 273.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/5.48, allocations: 188.6 kB / 2.314 GB, free: 273.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/5.48, allocations: 3.688 kB / 2.314 GB, free: 273.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001574/5.482, allocations: 0.5676 MB / 2.314 GB, free: 273 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/5.482, allocations: 10.81 kB / 2.314 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/5.482, allocations: 10.95 kB / 2.314 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/5.482, allocations: 127.4 kB / 2.314 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/5.483, allocations: 128.4 kB / 2.314 GB, free: 273 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/5.484, allocations: 1.725 MB / 2.316 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/5.485, allocations: 101.1 kB / 2.316 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/5.485, allocations: 34.16 kB / 2.316 GB, free: 271.4 MB / 1.151 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.0002329/5.485, allocations: 119.2 kB / 2.316 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/5.486, allocations: 97.09 kB / 2.316 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/5.487, allocations: 0.5903 MB / 2.317 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/5.487, allocations: 6.562 kB / 2.317 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/5.487, allocations: 0 / 2.317 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/5.487, allocations: 3.703 kB / 2.317 GB, free: 271.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/5.49, allocations: 1.364 MB / 2.318 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/5.49, allocations: 0 / 2.318 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000423/5.491, allocations: 84.72 kB / 2.318 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/5.491, allocations: 122.1 kB / 2.318 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/5.491, allocations: 3.969 kB / 2.318 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/5.492, allocations: 1.719 MB / 2.32 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/5.493, allocations: 3.938 kB / 2.32 GB, free: 269.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001547/5.494, allocations: 0.7336 MB / 2.321 GB, free: 268.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001647/5.496, allocations: 1.165 MB / 2.322 GB, free: 268.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005465/5.496, allocations: 231.5 kB / 2.322 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/5.497, allocations: 0 / 2.322 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/5.497, allocations: 91.91 kB / 2.322 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/5.498, allocations: 29.12 kB / 2.322 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/5.498, allocations: 22.59 kB / 2.322 GB, free: 268 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008749/5.499, allocations: 0.4917 MB / 2.323 GB, free: 267.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002473/5.501, allocations: 486.4 kB / 2.323 GB, free: 267.8 MB / 1.151 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.00158/5.503, allocations: 0.6154 MB / 2.324 GB, free: 267.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001024/5.504, allocations: 374 kB / 2.324 GB, free: 267.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/5.504, allocations: 3.938 kB / 2.324 GB, free: 267.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/5.504, allocations: 207.4 kB / 2.324 GB, free: 267.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/5.507, allocations: 401 kB / 2.325 GB, free: 267.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/5.51, allocations: 1.242 MB / 2.326 GB, free: 267.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009859/5.511, allocations: 1.193 MB / 2.327 GB, free: 266.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.21e-07/5.511, allocations: 0 / 2.327 GB, free: 266.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)