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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [: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 1.968/1.968, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009867/0.0009866, allocations: 169.3 kB / 490.8 MB, free: 1.957 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.393/1.393, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.001038/0.001038, allocations: 95.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.524e-06/7.544e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.428, allocations: 410.8 MB / 1.613 GB, free: 4.938 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.429, allocations: 82.36 kB / 1.613 GB, free: 4.898 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.741/4.17, allocations: 0.6663 GB / 2.279 GB, free: 279.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000117/4.17, allocations: 35.67 kB / 2.279 GB, free: 279.9 MB / 1.151 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 0.00277/4.172, allocations: 1.453 MB / 2.281 GB, free: 279.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/4.173, allocations: 10.69 kB / 2.281 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/4.173, allocations: 219.8 kB / 2.281 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05509/4.228, allocations: 23.49 MB / 2.304 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/4.229, allocations: 111.7 kB / 2.304 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/4.229, allocations: 49.94 kB / 2.304 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009275/4.23, allocations: 442.3 kB / 2.304 GB, free: 278.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/4.231, allocations: 0.8216 MB / 2.305 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/4.231, allocations: 7.75 kB / 2.305 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/4.231, allocations: 8.906 kB / 2.305 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/4.231, allocations: 18.88 kB / 2.305 GB, free: 277.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004742/4.236, allocations: 4.319 MB / 2.309 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/4.236, allocations: 245.6 kB / 2.31 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/4.236, allocations: 141.8 kB / 2.31 GB, free: 275.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/4.237, allocations: 1.156 MB / 2.311 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/4.237, allocations: 34.06 kB / 2.311 GB, free: 273.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=29): time 2.455e-06/4.237, allocations: 0 / 2.311 GB, free: 273.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.00125/4.238, allocations: 458.6 kB / 2.311 GB, free: 273.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/4.238, allocations: 59.28 kB / 2.311 GB, free: 273.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007765/4.239, allocations: 0.6676 MB / 2.312 GB, free: 273.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/4.239, allocations: 25.7 kB / 2.312 GB, free: 273.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/4.239, allocations: 440.4 kB / 2.312 GB, free: 273.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/4.24, allocations: 95.16 kB / 2.313 GB, free: 273.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/4.24, allocations: 0 / 2.313 GB, free: 273.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/4.24, allocations: 327.4 kB / 2.313 GB, free: 272.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/4.24, allocations: 111.9 kB / 2.313 GB, free: 272.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/4.24, allocations: 305.1 kB / 2.313 GB, free: 272.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/4.241, allocations: 191.2 kB / 2.313 GB, free: 272.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/4.241, allocations: 7.188 kB / 2.313 GB, free: 272.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001175/4.242, allocations: 0.568 MB / 2.314 GB, free: 272.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/4.242, allocations: 10.66 kB / 2.314 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.242, allocations: 7.625 kB / 2.314 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000486/4.242, allocations: 123.8 kB / 2.314 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/4.243, allocations: 135.8 kB / 2.314 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/4.244, allocations: 1.724 MB / 2.316 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/4.244, allocations: 104.2 kB / 2.316 GB, free: 271 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/4.245, allocations: 31.27 kB / 2.316 GB, free: 271 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.0001574/4.245, allocations: 118.2 kB / 2.316 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/4.245, allocations: 100.9 kB / 2.316 GB, free: 270.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/4.246, allocations: 0.589 MB / 2.317 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/4.246, allocations: 6.938 kB / 2.317 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.246, allocations: 0 / 2.317 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/4.246, allocations: 7.094 kB / 2.317 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/4.248, allocations: 1.359 MB / 2.318 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/4.248, allocations: 0 / 2.318 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/4.249, allocations: 90.25 kB / 2.318 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/4.249, allocations: 123.1 kB / 2.318 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/4.249, allocations: 7.312 kB / 2.318 GB, free: 270.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008144/4.25, allocations: 1.709 MB / 2.32 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/4.25, allocations: 3.938 kB / 2.32 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001163/4.251, allocations: 0.7334 MB / 2.321 GB, free: 268.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/4.251, allocations: 228.9 kB / 2.321 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/4.252, allocations: 3.812 kB / 2.321 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/4.252, allocations: 93.23 kB / 2.321 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/4.252, allocations: 28.84 kB / 2.321 GB, free: 268.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/4.252, allocations: 19.16 kB / 2.321 GB, free: 268.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005804/4.253, allocations: 0.4978 MB / 2.322 GB, free: 268.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001257/4.254, allocations: 397.9 kB / 2.322 GB, free: 268.1 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.001078/4.255, allocations: 0.6116 MB / 2.323 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007389/4.256, allocations: 363.4 kB / 2.323 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/4.256, allocations: 2.969 kB / 2.323 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/4.256, allocations: 221.7 kB / 2.323 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/4.258, allocations: 395.8 kB / 2.324 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/4.261, allocations: 1.244 MB / 2.325 GB, free: 267.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/4.261, allocations: 1.197 MB / 2.326 GB, free: 266.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.51e-07/4.261, allocations: 3.219 kB / 2.326 GB, free: 266.8 MB / 1.151 GB Notification: Performance of Templates: time 0.03433/4.296, allocations: 17.24 MB / 2.343 GB, free: 266.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)