Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.1.4-maint.8.1.x/package.mo): time 1.615/1.615, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001545/0.001545, allocations: 177.3 kB / 366.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.2 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 85.91 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3249/0.3261, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/1.128, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/6.591, allocations: 2.325 GB / 3.298 GB, free: 111.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.591, allocations: 100.4 kB / 3.298 GB, free: 111.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.561/8.152, allocations: 479.4 MB / 3.766 GB, free: 4.605 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/8.152, allocations: 8 kB / 3.766 GB, free: 4.598 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/8.156, allocations: 0.5054 MB / 3.767 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/8.16, allocations: 1.339 MB / 3.768 GB, free: 2.707 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/8.16, allocations: 32 kB / 3.768 GB, free: 2.676 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005112/8.16, allocations: 67.94 kB / 3.768 GB, free: 2.609 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00229/8.163, allocations: 1.171 MB / 3.769 GB, free: 1.438 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/8.165, allocations: 1.132 MB / 3.77 GB, free: 304 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/8.165, allocations: 0 / 3.77 GB, free: 304 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/8.165, allocations: 3.906 kB / 3.77 GB, free: 300 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/8.165, allocations: 42 kB / 3.77 GB, free: 260 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4866/8.652, allocations: 4.79 MB / 3.775 GB, free: 289.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/8.653, allocations: 0.9359 MB / 3.776 GB, free: 289.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007284/8.654, allocations: 0.5646 MB / 3.776 GB, free: 289.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/8.654, allocations: 207.9 kB / 3.777 GB, free: 289.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/8.654, allocations: 41.25 kB / 3.777 GB, free: 289.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 4.509e-06/8.654, allocations: 1.781 kB / 3.777 GB, free: 289.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.005772/8.66, allocations: 2.544 MB / 3.779 GB, free: 288.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/8.66, allocations: 57.94 kB / 3.779 GB, free: 288.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/8.661, allocations: 0.7688 MB / 3.78 GB, free: 288.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/8.661, allocations: 28.3 kB / 3.78 GB, free: 288.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/8.661, allocations: 392.9 kB / 3.78 GB, free: 288.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/8.661, allocations: 276.9 kB / 3.781 GB, free: 288.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/8.662, allocations: 6.812 kB / 3.781 GB, free: 288.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/8.662, allocations: 336.7 kB / 3.781 GB, free: 287.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/8.662, allocations: 439.8 kB / 3.781 GB, free: 287.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/8.663, allocations: 0.6006 MB / 3.782 GB, free: 287.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006573/8.663, allocations: 0.5512 MB / 3.782 GB, free: 287.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/8.663, allocations: 2.594 kB / 3.782 GB, free: 287.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001757/8.665, allocations: 1.208 MB / 3.784 GB, free: 287.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002538/8.666, allocations: 1.047 MB / 3.785 GB, free: 286.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/8.666, allocations: 3.719 kB / 3.785 GB, free: 286.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/8.666, allocations: 75.69 kB / 3.785 GB, free: 286.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/8.667, allocations: 187.8 kB / 3.785 GB, free: 286.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/8.669, allocations: 2.911 MB / 3.788 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/8.671, allocations: 105.2 kB / 3.788 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.251e-05/8.671, allocations: 33.34 kB / 3.788 GB, free: 284 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/8.671, allocations: 3.812 kB / 3.788 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/8.672, allocations: 1.061 MB / 3.789 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/8.672, allocations: 7.266 kB / 3.789 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/8.673, allocations: 67.19 kB / 3.789 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/8.673, allocations: 168.4 kB / 3.789 GB, free: 284 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/8.675, allocations: 1.718 MB / 3.791 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/8.677, allocations: 103.6 kB / 3.791 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/8.677, allocations: 32.05 kB / 3.791 GB, free: 282.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003394/8.677, allocations: 129.4 kB / 3.791 GB, free: 282.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/8.677, allocations: 102.3 kB / 3.791 GB, free: 282.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/8.679, allocations: 1.15 MB / 3.792 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/8.679, allocations: 6.812 kB / 3.792 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/8.679, allocations: 3.938 kB / 3.792 GB, free: 282.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/8.681, allocations: 1.221 MB / 3.794 GB, free: 282.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/8.686, allocations: 2.634 MB / 3.796 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/8.686, allocations: 3.812 kB / 3.796 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/8.687, allocations: 228 kB / 3.796 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002252/8.687, allocations: 68 kB / 3.796 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/8.687, allocations: 23.8 kB / 3.796 GB, free: 281.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/8.689, allocations: 2.894 MB / 3.799 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/8.689, allocations: 6.938 kB / 3.799 GB, free: 279.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00255/8.692, allocations: 2.044 MB / 3.801 GB, free: 278.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003466/8.695, allocations: 3.185 MB / 3.804 GB, free: 278.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/8.696, allocations: 315.7 kB / 3.805 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/8.696, allocations: 14.94 kB / 3.805 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/8.697, allocations: 93.14 kB / 3.805 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/8.697, allocations: 37.19 kB / 3.805 GB, free: 278 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/8.698, allocations: 32.67 kB / 3.805 GB, free: 278 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008697/8.698, allocations: 0.6094 MB / 3.805 GB, free: 277.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004625/8.703, allocations: 1.024 MB / 3.806 GB, free: 277.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/8.706, allocations: 1.515 MB / 3.808 GB, free: 277.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003144/8.709, allocations: 1.856 MB / 3.81 GB, free: 277.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/8.709, allocations: 6.047 kB / 3.81 GB, free: 277.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/8.71, allocations: 0.6509 MB / 3.81 GB, free: 277.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/8.713, allocations: 0.7056 MB / 3.811 GB, free: 277.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/8.718, allocations: 2.612 MB / 3.814 GB, free: 276.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/8.719, allocations: 1.55 MB / 3.815 GB, free: 276 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/8.719, allocations: 0 / 3.815 GB, free: 276 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)