Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.245/1.245, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.000965/0.0009647, allocations: 196.1 kB / 316 MB, free: 3.539 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.132/1.132, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0008395/0.0008399, allocations: 85.11 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3347/0.3355, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5121, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.957/4.469, allocations: 2.19 GB / 3.074 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/4.47, allocations: 83.95 kB / 3.074 GB, free: 214.6 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.099/5.569, allocations: 380.3 MB / 3.446 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/5.569, allocations: 12 kB / 3.446 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/5.571, allocations: 271 kB / 3.446 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/5.572, allocations: 490.8 kB / 3.446 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/5.572, allocations: 88.94 kB / 3.446 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/5.572, allocations: 27.98 kB / 3.447 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007138/5.573, allocations: 389.9 kB / 3.447 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/5.574, allocations: 0.5012 MB / 3.447 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/5.574, allocations: 0 / 3.447 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/5.574, allocations: 3.906 kB / 3.447 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/5.574, allocations: 21 kB / 3.447 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/5.577, allocations: 2.08 MB / 3.449 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/5.578, allocations: 146.5 kB / 3.45 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/5.578, allocations: 84.83 kB / 3.45 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/5.578, allocations: 4 kB / 3.45 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/5.578, allocations: 38.48 kB / 3.45 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.024e-06/5.578, allocations: 4 kB / 3.45 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.001654/5.579, allocations: 426 kB / 3.45 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/5.579, allocations: 81.11 kB / 3.45 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/5.58, allocations: 349.1 kB / 3.451 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/5.58, allocations: 29.7 kB / 3.451 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.862e-05/5.58, allocations: 267.2 kB / 3.451 GB, free: 167 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/5.58, allocations: 43.39 kB / 3.451 GB, free: 167 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/5.58, allocations: 0 / 3.451 GB, free: 167 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/5.58, allocations: 346.8 kB / 3.451 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/5.58, allocations: 104 kB / 3.451 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/5.58, allocations: 196.4 kB / 3.451 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/5.581, allocations: 129.8 kB / 3.452 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/5.581, allocations: 4.031 kB / 3.452 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001646/5.582, allocations: 0.5473 MB / 3.452 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/5.582, allocations: 4 kB / 3.452 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/5.582, allocations: 7.906 kB / 3.452 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/5.583, allocations: 128.9 kB / 3.452 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/5.583, allocations: 83.88 kB / 3.452 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/5.585, allocations: 1.72 MB / 3.454 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/5.586, allocations: 79.7 kB / 3.454 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/5.586, allocations: 12.19 kB / 3.454 GB, free: 163.5 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001613/5.586, allocations: 114 kB / 3.454 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/5.586, allocations: 51.59 kB / 3.454 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/5.586, allocations: 39.22 kB / 3.454 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/5.586, allocations: 4 kB / 3.454 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/5.586, allocations: 0 / 3.454 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/5.586, allocations: 7.891 kB / 3.454 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/5.588, allocations: 0.9116 MB / 3.455 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/5.588, allocations: 0 / 3.455 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/5.588, allocations: 48.02 kB / 3.455 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/5.589, allocations: 124.8 kB / 3.455 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/5.589, allocations: 7.891 kB / 3.455 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/5.591, allocations: 1.721 MB / 3.457 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/5.591, allocations: 4 kB / 3.457 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001547/5.592, allocations: 0.5583 MB / 3.458 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001769/5.594, allocations: 0.9815 MB / 3.459 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/5.594, allocations: 160.5 kB / 3.459 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/5.594, allocations: 4 kB / 3.459 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/5.595, allocations: 67.94 kB / 3.459 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/5.595, allocations: 15.89 kB / 3.459 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/5.595, allocations: 11.98 kB / 3.459 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00025/5.595, allocations: 267.2 kB / 3.459 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001803/5.597, allocations: 347.5 kB / 3.459 GB, free: 157.8 MB / 0.8698 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/5.599, allocations: 1.144 MB / 3.46 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005715/5.599, allocations: 354.2 kB / 3.461 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/5.599, allocations: 0 / 3.461 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/5.599, allocations: 189.8 kB / 3.461 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/5.6, allocations: 183.7 kB / 3.461 GB, free: 156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/5.603, allocations: 0.7341 MB / 3.462 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/5.603, allocations: 0.908 MB / 3.463 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of SimCode: time 7.82e-07/5.603, allocations: 4 kB / 3.463 GB, free: 154.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)