Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.445/2.445, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.00166/0.001659, allocations: 181.2 kB / 360.3 MB, free: 7.531 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.99/1.99, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001343/0.001343, allocations: 97.34 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3154/0.3168, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/1.144, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.98, allocations: 2.07 GB / 3.033 GB, free: 46.33 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/5.98, allocations: 89.08 kB / 3.033 GB, free: 46.29 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 1.371/7.351, allocations: 263.7 MB / 3.291 GB, free: 172.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/7.351, allocations: 8 kB / 3.291 GB, free: 172.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/7.353, allocations: 175 kB / 3.291 GB, free: 172.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/7.355, allocations: 0.5315 MB / 3.291 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/7.355, allocations: 20 kB / 3.291 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/7.355, allocations: 28 kB / 3.291 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001325/7.356, allocations: 458.5 kB / 3.292 GB, free: 171.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/7.358, allocations: 0.5409 MB / 3.292 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/7.358, allocations: 0 / 3.292 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/7.358, allocations: 3.906 kB / 3.292 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/7.358, allocations: 29.25 kB / 3.292 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/7.363, allocations: 2.12 MB / 3.294 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/7.364, allocations: 216 kB / 3.295 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/7.364, allocations: 112.8 kB / 3.295 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/7.364, allocations: 4 kB / 3.295 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/7.364, allocations: 38.56 kB / 3.295 GB, free: 167.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 3.396e-06/7.364, allocations: 0 / 3.295 GB, free: 167.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001299/7.365, allocations: 318.9 kB / 3.295 GB, free: 167.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/7.365, allocations: 85.11 kB / 3.295 GB, free: 167.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/7.366, allocations: 357 kB / 3.295 GB, free: 167.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/7.366, allocations: 29.64 kB / 3.296 GB, free: 167.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/7.366, allocations: 294.9 kB / 3.296 GB, free: 166.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/7.366, allocations: 70.94 kB / 3.296 GB, free: 166.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/7.366, allocations: 0 / 3.296 GB, free: 166.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/7.366, allocations: 350.8 kB / 3.296 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/7.367, allocations: 104.6 kB / 3.296 GB, free: 166.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/7.367, allocations: 200.1 kB / 3.296 GB, free: 166 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/7.367, allocations: 147.8 kB / 3.297 GB, free: 165.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/7.367, allocations: 0 / 3.297 GB, free: 165.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001293/7.369, allocations: 443.2 kB / 3.297 GB, free: 165.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/7.369, allocations: 4 kB / 3.297 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/7.369, allocations: 7.984 kB / 3.297 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/7.369, allocations: 85.77 kB / 3.297 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/7.37, allocations: 67.91 kB / 3.297 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/7.373, allocations: 2.813 MB / 3.3 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/7.374, allocations: 47.73 kB / 3.3 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/7.374, allocations: 12.06 kB / 3.3 GB, free: 162.1 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/7.374, allocations: 116.8 kB / 3.3 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/7.375, allocations: 43.53 kB / 3.3 GB, free: 162 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/7.375, allocations: 47.41 kB / 3.3 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.375, allocations: 4 kB / 3.3 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/7.375, allocations: 4 kB / 3.3 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000831/7.376, allocations: 495.3 kB / 3.301 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/7.377, allocations: 0.8031 MB / 3.301 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/7.377, allocations: 8.031 kB / 3.301 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004075/7.378, allocations: 43.91 kB / 3.302 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/7.378, allocations: 60.81 kB / 3.302 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/7.378, allocations: 0 / 3.302 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/7.38, allocations: 1.534 MB / 3.303 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/7.38, allocations: 0 / 3.303 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009442/7.381, allocations: 420.9 kB / 3.303 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001095/7.382, allocations: 0.8281 MB / 3.304 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/7.383, allocations: 152.5 kB / 3.304 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/7.383, allocations: 3.906 kB / 3.304 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/7.384, allocations: 35.91 kB / 3.304 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/7.384, allocations: 11.98 kB / 3.304 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/7.384, allocations: 19.98 kB / 3.305 GB, free: 157.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004762/7.384, allocations: 271.2 kB / 3.305 GB, free: 156.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002784/7.387, allocations: 379.3 kB / 3.305 GB, free: 156.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001918/7.389, allocations: 1.078 MB / 3.306 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001129/7.39, allocations: 463.3 kB / 3.307 GB, free: 155 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/7.39, allocations: 7.938 kB / 3.307 GB, free: 155 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003696/7.391, allocations: 205.6 kB / 3.307 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/7.393, allocations: 233.9 kB / 3.307 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/7.395, allocations: 0.6308 MB / 3.308 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/7.396, allocations: 0.9552 MB / 3.309 GB, free: 152.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/7.396, allocations: 0 / 3.309 GB, free: 152.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)