Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001337/0.001337, allocations: 181.3 kB / 366.3 MB, free: 1.984 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.662/1.662, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.001015/0.001015, allocations: 84.97 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2943/0.2954, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.9949, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.324/5.319, allocations: 2.071 GB / 3.044 GB, free: 3.547 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.32, allocations: 85.2 kB / 3.044 GB, free: 3.465 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 1.936/7.256, allocations: 390.6 MB / 3.425 GB, free: 278.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/7.256, allocations: 11.53 kB / 3.425 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/7.258, allocations: 288.8 kB / 3.426 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/7.259, allocations: 476.7 kB / 3.426 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/7.259, allocations: 96.34 kB / 3.426 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/7.259, allocations: 27.06 kB / 3.426 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006494/7.26, allocations: 388.8 kB / 3.427 GB, free: 278.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/7.261, allocations: 0.4935 MB / 3.427 GB, free: 277.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/7.261, allocations: 0 / 3.427 GB, free: 277.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/7.261, allocations: 7.594 kB / 3.427 GB, free: 277.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/7.261, allocations: 15.69 kB / 3.427 GB, free: 277.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/7.264, allocations: 2.064 MB / 3.429 GB, free: 277.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/7.265, allocations: 146.4 kB / 3.429 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/7.265, allocations: 82.14 kB / 3.429 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/7.265, allocations: 7.5 kB / 3.429 GB, free: 277 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/7.265, allocations: 38.03 kB / 3.429 GB, free: 277 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/7.265, allocations: 0 / 3.429 GB, free: 277 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001892/7.267, allocations: 441.8 kB / 3.43 GB, free: 276.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/7.267, allocations: 84.64 kB / 3.43 GB, free: 276.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/7.267, allocations: 345.3 kB / 3.43 GB, free: 276.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/7.267, allocations: 29.52 kB / 3.43 GB, free: 276.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/7.267, allocations: 260.8 kB / 3.431 GB, free: 276.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/7.268, allocations: 43.55 kB / 3.431 GB, free: 276.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.982e-05/7.268, allocations: 0 / 3.431 GB, free: 276.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001155/7.268, allocations: 344.5 kB / 3.431 GB, free: 276.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/7.268, allocations: 102.5 kB / 3.431 GB, free: 276.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/7.268, allocations: 199.3 kB / 3.431 GB, free: 276.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/7.268, allocations: 134.8 kB / 3.431 GB, free: 276.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/7.268, allocations: 0 / 3.431 GB, free: 276.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001725/7.27, allocations: 0.5471 MB / 3.432 GB, free: 276 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/7.27, allocations: 7.75 kB / 3.432 GB, free: 276 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/7.27, allocations: 0 / 3.432 GB, free: 276 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003967/7.27, allocations: 126.9 kB / 3.432 GB, free: 276 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/7.271, allocations: 85.52 kB / 3.432 GB, free: 276 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/7.273, allocations: 1.736 MB / 3.434 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/7.274, allocations: 79.38 kB / 3.434 GB, free: 274.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/7.274, allocations: 15.59 kB / 3.434 GB, free: 274.8 MB / 0.948 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: 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 (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.0001625/7.274, allocations: 110.5 kB / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/7.274, allocations: 42.69 kB / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/7.274, allocations: 38.33 kB / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/7.274, allocations: 3.969 kB / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/7.274, allocations: 0 / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/7.274, allocations: 3.781 kB / 3.434 GB, free: 274.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/7.276, allocations: 0.8929 MB / 3.435 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/7.276, allocations: 0 / 3.435 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/7.276, allocations: 51.52 kB / 3.435 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/7.277, allocations: 128.4 kB / 3.435 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/7.277, allocations: 0 / 3.435 GB, free: 274.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/7.279, allocations: 1.733 MB / 3.437 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/7.279, allocations: 2.438 kB / 3.437 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00164/7.281, allocations: 0.5614 MB / 3.437 GB, free: 273 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001938/7.283, allocations: 0.9752 MB / 3.438 GB, free: 272.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/7.283, allocations: 152.4 kB / 3.438 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/7.283, allocations: 0 / 3.438 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/7.284, allocations: 71.55 kB / 3.439 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/7.284, allocations: 11.34 kB / 3.439 GB, free: 272.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/7.284, allocations: 18.88 kB / 3.439 GB, free: 272.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000317/7.284, allocations: 261.3 kB / 3.439 GB, free: 272.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001773/7.286, allocations: 360.6 kB / 3.439 GB, free: 272.2 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 (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.001514/7.287, allocations: 1.155 MB / 3.44 GB, free: 272 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006238/7.288, allocations: 343.3 kB / 3.441 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.288, allocations: 0 / 3.441 GB, free: 271.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/7.288, allocations: 201.1 kB / 3.441 GB, free: 271.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/7.289, allocations: 172.4 kB / 3.441 GB, free: 271.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/7.292, allocations: 0.7129 MB / 3.442 GB, free: 271.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/7.292, allocations: 0.9069 MB / 3.443 GB, free: 270.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/7.292, allocations: 3.75 kB / 3.443 GB, free: 270.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)