Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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 9.1.1-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001423/0.001423, allocations: 200.3 kB / 487 MB, free: 5.383 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.514/1.514, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 92.62 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6338/0.6348, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.9296, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.795, allocations: 1.948 GB / 3.153 GB, free: 377.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/5.796, allocations: 83.89 kB / 3.153 GB, free: 377.6 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.619/7.415, allocations: 478.3 MB / 3.621 GB, free: 283.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/7.415, allocations: 10.34 kB / 3.621 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/7.417, allocations: 300 kB / 3.621 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/7.42, allocations: 0.8478 MB / 3.622 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/7.42, allocations: 22.12 kB / 3.622 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/7.421, allocations: 45.36 kB / 3.622 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/7.423, allocations: 0.8829 MB / 3.623 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/7.425, allocations: 0.8937 MB / 3.624 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/7.425, allocations: 3.531 kB / 3.624 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/7.425, allocations: 3.938 kB / 3.624 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001291/7.425, allocations: 77.16 kB / 3.624 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007821/7.433, allocations: 3.524 MB / 3.627 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/7.435, allocations: 0.7418 MB / 3.628 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/7.435, allocations: 353.7 kB / 3.628 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/7.435, allocations: 199.6 kB / 3.628 GB, free: 281.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/7.436, allocations: 49.12 kB / 3.628 GB, free: 281.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 4.829e-06/7.436, allocations: 0 / 3.628 GB, free: 281.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002335/7.438, allocations: 0.7479 MB / 3.629 GB, free: 281.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/7.438, allocations: 113.5 kB / 3.629 GB, free: 281.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/7.439, allocations: 0.5508 MB / 3.63 GB, free: 281.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/7.439, allocations: 25.7 kB / 3.63 GB, free: 281.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/7.439, allocations: 320.5 kB / 3.63 GB, free: 281 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/7.44, allocations: 213.2 kB / 3.63 GB, free: 280.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/7.44, allocations: 0 / 3.63 GB, free: 280.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001448/7.44, allocations: 388.2 kB / 3.631 GB, free: 280.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/7.44, allocations: 310.8 kB / 3.631 GB, free: 280.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/7.441, allocations: 443.8 kB / 3.631 GB, free: 280.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/7.443, allocations: 0.6663 MB / 3.632 GB, free: 280.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/7.443, allocations: 9.375 kB / 3.632 GB, free: 280.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002511/7.445, allocations: 1.15 MB / 3.633 GB, free: 280.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002681/7.445, allocations: 0.8716 MB / 3.634 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/7.445, allocations: 3.906 kB / 3.634 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/7.446, allocations: 6.375 kB / 3.634 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/7.446, allocations: 145 kB / 3.634 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.451e-05/7.446, allocations: 9.516 kB / 3.634 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/7.448, allocations: 86.52 kB / 3.634 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/7.448, allocations: 33.62 kB / 3.634 GB, free: 279.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/7.448, allocations: 3.594 kB / 3.634 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00197/7.45, allocations: 0.9534 MB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/7.45, allocations: 3.969 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/7.45, allocations: 7.031 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/7.45, allocations: 139.2 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/7.45, allocations: 3.75 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009965/7.451, allocations: 82.34 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.455e-05/7.452, allocations: 32.75 kB / 3.635 GB, free: 279.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002404/7.452, allocations: 116.7 kB / 3.636 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/7.452, allocations: 82.44 kB / 3.636 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/7.454, allocations: 0.7719 MB / 3.636 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/7.454, allocations: 6.688 kB / 3.636 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/7.454, allocations: 0 / 3.636 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/7.455, allocations: 0.7235 MB / 3.637 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/7.458, allocations: 1.951 MB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/7.458, allocations: 6.5 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/7.459, allocations: 138 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/7.459, allocations: 7.781 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/7.459, allocations: 7.781 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/7.459, allocations: 3.906 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/7.459, allocations: 3.938 kB / 3.639 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001909/7.461, allocations: 1.49 MB / 3.641 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00265/7.464, allocations: 2.387 MB / 3.643 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/7.464, allocations: 245.5 kB / 3.643 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/7.464, allocations: 11.12 kB / 3.643 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/7.465, allocations: 38.16 kB / 3.643 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/7.465, allocations: 42.16 kB / 3.643 GB, free: 275.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/7.465, allocations: 25.5 kB / 3.643 GB, free: 275.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005319/7.466, allocations: 434.7 kB / 3.644 GB, free: 275.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004472/7.47, allocations: 1.242 MB / 3.645 GB, free: 274.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003355/7.473, allocations: 1.924 MB / 3.647 GB, free: 274.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002073/7.476, allocations: 1.134 MB / 3.648 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/7.476, allocations: 3.812 kB / 3.648 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/7.476, allocations: 354 kB / 3.648 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/7.479, allocations: 418.5 kB / 3.649 GB, free: 273.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/7.482, allocations: 1.511 MB / 3.65 GB, free: 272.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/7.484, allocations: 1.186 MB / 3.651 GB, free: 272.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.184e-06/7.484, allocations: 4.156 kB / 3.651 GB, free: 272.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)