Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 185.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008463/0.0008463, allocations: 87.38 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3383/0.3392, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.5205, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.224/4.744, allocations: 2.442 GB / 3.327 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/4.744, allocations: 98.98 kB / 3.327 GB, free: 293.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 1.118/5.863, allocations: 468.8 MB / 3.785 GB, free: 162 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/5.863, allocations: 15.98 kB / 3.785 GB, free: 162 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/5.866, allocations: 0.5046 MB / 3.785 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/5.868, allocations: 1.358 MB / 3.787 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/5.868, allocations: 35.94 kB / 3.787 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/5.868, allocations: 67.91 kB / 3.787 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001519/5.87, allocations: 1.187 MB / 3.788 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/5.871, allocations: 1.155 MB / 3.789 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/5.871, allocations: 0 / 3.789 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/5.871, allocations: 0 / 3.789 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/5.871, allocations: 41.98 kB / 3.789 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005107/5.876, allocations: 4.83 MB / 3.794 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/5.877, allocations: 0.9495 MB / 3.795 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/5.878, allocations: 0.55 MB / 3.795 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/5.878, allocations: 200.3 kB / 3.795 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/5.878, allocations: 43.22 kB / 3.795 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/5.878, allocations: 0 / 3.795 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004372/5.883, allocations: 2.518 MB / 3.798 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/5.883, allocations: 60.06 kB / 3.798 GB, free: 148 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/5.884, allocations: 0.7946 MB / 3.799 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/5.884, allocations: 25.7 kB / 3.799 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/5.884, allocations: 403.9 kB / 3.799 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/5.884, allocations: 275.9 kB / 3.799 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/5.884, allocations: 0 / 3.799 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/5.884, allocations: 345.9 kB / 3.8 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/5.884, allocations: 425.3 kB / 3.8 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/5.885, allocations: 0.595 MB / 3.801 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/5.886, allocations: 0.5392 MB / 3.801 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.886, allocations: 7.938 kB / 3.801 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001377/5.887, allocations: 1.174 MB / 3.802 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/5.887, allocations: 1.05 MB / 3.803 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/5.887, allocations: 4 kB / 3.803 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/5.887, allocations: 76.8 kB / 3.803 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009862/5.888, allocations: 191.7 kB / 3.804 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/5.89, allocations: 2.911 MB / 3.806 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/5.891, allocations: 107.6 kB / 3.807 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.229e-05/5.891, allocations: 36.03 kB / 3.807 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.7e-06/5.891, allocations: 4 kB / 3.807 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001183/5.893, allocations: 1.044 MB / 3.808 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/5.893, allocations: 8.281 kB / 3.808 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/5.893, allocations: 76.81 kB / 3.808 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/5.893, allocations: 163.8 kB / 3.808 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/5.894, allocations: 1.72 MB / 3.81 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/5.896, allocations: 107.7 kB / 3.81 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/5.896, allocations: 32.05 kB / 3.81 GB, free: 135.5 MB / 0.8698 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.0001732/5.896, allocations: 120.8 kB / 3.81 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/5.896, allocations: 106.7 kB / 3.81 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/5.897, allocations: 1.143 MB / 3.811 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/5.897, allocations: 8 kB / 3.811 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/5.897, allocations: 7.984 kB / 3.811 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/5.899, allocations: 1.2 MB / 3.812 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/5.902, allocations: 2.62 MB / 3.815 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/5.902, allocations: 7.891 kB / 3.815 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/5.903, allocations: 227.2 kB / 3.815 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/5.903, allocations: 68.81 kB / 3.815 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.007e-05/5.903, allocations: 15.98 kB / 3.815 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/5.905, allocations: 2.91 MB / 3.818 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/5.905, allocations: 4 kB / 3.818 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001759/5.906, allocations: 2.006 MB / 3.82 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002538/5.909, allocations: 3.136 MB / 3.823 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/5.909, allocations: 335.7 kB / 3.823 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/5.91, allocations: 7.984 kB / 3.823 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009989/5.911, allocations: 91.75 kB / 3.823 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/5.911, allocations: 48.58 kB / 3.823 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/5.911, allocations: 31.89 kB / 3.823 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006207/5.911, allocations: 0.6206 MB / 3.824 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003625/5.915, allocations: 1.043 MB / 3.825 GB, free: 119.2 MB / 0.8698 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.001444/5.916, allocations: 1.516 MB / 3.826 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002276/5.919, allocations: 1.831 MB / 3.828 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/5.919, allocations: 0 / 3.828 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006504/5.919, allocations: 0.6339 MB / 3.829 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/5.922, allocations: 0.717 MB / 3.83 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/5.926, allocations: 2.657 MB / 3.832 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009337/5.926, allocations: 1.578 MB / 3.834 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/5.927, allocations: 0 / 3.834 GB, free: 110.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)