Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.422/2.422, allocations: 284.8 MB / 292.1 MB, free: 9.836 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001694/0.001693, allocations: 179.4 kB / 360.3 MB, free: 1 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 0.6187 GB, free: 3.344 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001278, allocations: 82.95 kB / 0.7317 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.565/0.5664, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.8266, allocations: 115.2 MB / 0.9627 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.679/6.506, allocations: 2.103 GB / 3.066 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/6.506, allocations: 87.12 kB / 3.066 GB, free: 129.8 MB / 0.9323 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 2.266/8.772, allocations: 469.9 MB / 3.524 GB, free: 36.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/8.772, allocations: 8.5 kB / 3.524 GB, free: 36.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003305/8.775, allocations: 302.3 kB / 3.525 GB, free: 35.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/8.778, allocations: 0.8328 MB / 3.526 GB, free: 34.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/8.778, allocations: 24 kB / 3.526 GB, free: 34.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/8.779, allocations: 40 kB / 3.526 GB, free: 34.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00257/8.781, allocations: 0.8779 MB / 3.526 GB, free: 34.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/8.784, allocations: 0.9016 MB / 3.527 GB, free: 33.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/8.784, allocations: 0 / 3.527 GB, free: 33.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/8.784, allocations: 0 / 3.527 GB, free: 33.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/8.784, allocations: 85.84 kB / 3.527 GB, free: 33.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009734/8.794, allocations: 3.441 MB / 3.531 GB, free: 29.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/8.796, allocations: 0.7328 MB / 3.532 GB, free: 28.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008468/8.797, allocations: 358.1 kB / 3.532 GB, free: 28.33 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/8.798, allocations: 194.7 kB / 3.532 GB, free: 28.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/8.798, allocations: 43.06 kB / 3.532 GB, free: 28.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 3.607e-06/8.798, allocations: 0 / 3.532 GB, free: 28.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.003011/8.801, allocations: 0.761 MB / 3.533 GB, free: 27.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/8.801, allocations: 107.3 kB / 3.533 GB, free: 27.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/8.802, allocations: 0.5544 MB / 3.533 GB, free: 26.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/8.802, allocations: 29.7 kB / 3.534 GB, free: 26.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/8.802, allocations: 307.8 kB / 3.534 GB, free: 26.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/8.803, allocations: 212.8 kB / 3.534 GB, free: 26.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/8.803, allocations: 0 / 3.534 GB, free: 26.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001392/8.803, allocations: 390.7 kB / 3.534 GB, free: 25.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/8.804, allocations: 313.5 kB / 3.535 GB, free: 25.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/8.805, allocations: 443.6 kB / 3.535 GB, free: 24.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/8.816, allocations: 1.349 MB / 3.536 GB, free: 23.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/8.816, allocations: 3.906 kB / 3.536 GB, free: 23.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.01264/8.828, allocations: 1.822 MB / 3.538 GB, free: 21.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/8.829, allocations: 0.8757 MB / 3.539 GB, free: 20.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/8.829, allocations: 4 kB / 3.539 GB, free: 20.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/8.829, allocations: 8 kB / 3.539 GB, free: 20.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/8.831, allocations: 151.8 kB / 3.539 GB, free: 20.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/8.831, allocations: 4 kB / 3.539 GB, free: 20.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/8.832, allocations: 79.33 kB / 3.539 GB, free: 20.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/8.833, allocations: 24 kB / 3.539 GB, free: 20.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/8.833, allocations: 7.984 kB / 3.539 GB, free: 20.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01177/8.844, allocations: 1.633 MB / 3.541 GB, free: 18.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/8.844, allocations: 4 kB / 3.541 GB, free: 18.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/8.844, allocations: 4 kB / 3.541 GB, free: 18.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/8.846, allocations: 147.7 kB / 3.541 GB, free: 18.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/8.846, allocations: 11.94 kB / 3.541 GB, free: 18.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/8.848, allocations: 67.77 kB / 3.541 GB, free: 18.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/8.848, allocations: 24 kB / 3.541 GB, free: 18.57 MB / 0.948 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.0002935/8.848, allocations: 116.8 kB / 3.541 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/8.848, allocations: 82.97 kB / 3.541 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/8.851, allocations: 0.7734 MB / 3.542 GB, free: 17.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/8.851, allocations: 4 kB / 3.542 GB, free: 17.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/8.851, allocations: 0 / 3.542 GB, free: 17.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/8.853, allocations: 0.7329 MB / 3.543 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/8.858, allocations: 1.932 MB / 3.545 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/8.858, allocations: 4 kB / 3.545 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/8.859, allocations: 131.8 kB / 3.545 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/8.86, allocations: 8 kB / 3.545 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/8.86, allocations: 8.438 kB / 3.545 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/8.86, allocations: 11.92 kB / 3.545 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/8.86, allocations: 11.98 kB / 3.545 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003323/8.863, allocations: 1.534 MB / 3.546 GB, free: 12.96 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004573/8.868, allocations: 2.432 MB / 3.549 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/8.868, allocations: 252 kB / 3.549 GB, free: 10.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002703/8.869, allocations: 11.94 kB / 3.549 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/8.87, allocations: 39.81 kB / 3.549 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/8.87, allocations: 48.31 kB / 3.549 GB, free: 10.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/8.87, allocations: 24 kB / 3.549 GB, free: 10 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008126/8.871, allocations: 431.1 kB / 3.55 GB, free: 9.582 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008706/8.88, allocations: 1.236 MB / 3.551 GB, free: 8.344 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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.006918/8.887, allocations: 1.933 MB / 3.553 GB, free: 6.551 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003597/8.891, allocations: 1.121 MB / 3.554 GB, free: 5.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/8.891, allocations: 5.125 kB / 3.554 GB, free: 5.426 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/8.892, allocations: 354.1 kB / 3.554 GB, free: 5.082 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/8.896, allocations: 428.1 kB / 3.554 GB, free: 4.672 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/8.9, allocations: 1.497 MB / 3.556 GB, free: 3.105 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/8.901, allocations: 1.19 MB / 3.557 GB, free: 1.887 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/8.901, allocations: 0 / 3.557 GB, free: 1.887 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)