Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.111/2.111, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 184.5 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.4 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 94.38 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5858/0.5869, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.8441, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.564/5.408, allocations: 1.981 GB / 3.186 GB, free: 291.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/5.408, allocations: 85.39 kB / 3.186 GB, free: 291.3 MB / 1.151 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.367/6.775, allocations: 399.8 MB / 3.577 GB, free: 328.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/6.775, allocations: 8.938 kB / 3.577 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/6.777, allocations: 291.8 kB / 3.577 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/6.778, allocations: 488.1 kB / 3.577 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004445/6.779, allocations: 92.59 kB / 3.577 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/6.779, allocations: 23.59 kB / 3.578 GB, free: 327.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009667/6.78, allocations: 394 kB / 3.578 GB, free: 327.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/6.781, allocations: 496.7 kB / 3.578 GB, free: 327.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/6.781, allocations: 5.547 kB / 3.578 GB, free: 327.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/6.781, allocations: 1.25 kB / 3.578 GB, free: 327.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/6.781, allocations: 22.31 kB / 3.578 GB, free: 327.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/6.785, allocations: 2.088 MB / 3.58 GB, free: 326.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/6.785, allocations: 149.1 kB / 3.581 GB, free: 326.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/6.785, allocations: 87.31 kB / 3.581 GB, free: 326.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/6.785, allocations: 1.344 kB / 3.581 GB, free: 326.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/6.785, allocations: 37.69 kB / 3.581 GB, free: 326.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 2.855e-06/6.785, allocations: 0 / 3.581 GB, free: 326.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001991/6.787, allocations: 443.8 kB / 3.581 GB, free: 326 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/6.788, allocations: 82.05 kB / 3.581 GB, free: 325.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/6.788, allocations: 346.7 kB / 3.582 GB, free: 325.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/6.788, allocations: 29.67 kB / 3.582 GB, free: 325.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/6.788, allocations: 266.6 kB / 3.582 GB, free: 325.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/6.788, allocations: 40.61 kB / 3.582 GB, free: 325.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/6.788, allocations: 0 / 3.582 GB, free: 325.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/6.788, allocations: 347.1 kB / 3.582 GB, free: 325.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/6.788, allocations: 104.9 kB / 3.582 GB, free: 325.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/6.789, allocations: 185.2 kB / 3.582 GB, free: 325 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/6.789, allocations: 137.4 kB / 3.583 GB, free: 324.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/6.789, allocations: 1.156 kB / 3.583 GB, free: 324.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001977/6.791, allocations: 0.5413 MB / 3.583 GB, free: 324.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/6.791, allocations: 5.375 kB / 3.583 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/6.791, allocations: 6.266 kB / 3.583 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/6.792, allocations: 129.9 kB / 3.583 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/6.792, allocations: 80.34 kB / 3.583 GB, free: 324.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/6.795, allocations: 1.733 MB / 3.585 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007237/6.795, allocations: 79.03 kB / 3.585 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/6.795, allocations: 13.75 kB / 3.585 GB, free: 323.4 MB / 1.151 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.000176/6.796, allocations: 111.6 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/6.796, allocations: 39.66 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/6.796, allocations: 44.53 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/6.796, allocations: 2.219 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/6.796, allocations: 4 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/6.796, allocations: 3.281 kB / 3.585 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/6.798, allocations: 0.9034 MB / 3.586 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/6.798, allocations: 5.516 kB / 3.586 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/6.799, allocations: 51.56 kB / 3.586 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/6.799, allocations: 126 kB / 3.586 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/6.799, allocations: 4.453 kB / 3.586 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/6.801, allocations: 1.727 MB / 3.588 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/6.801, allocations: 3.375 kB / 3.588 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001819/6.803, allocations: 0.5514 MB / 3.589 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002021/6.805, allocations: 0.9818 MB / 3.59 GB, free: 320.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/6.805, allocations: 150.6 kB / 3.59 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/6.806, allocations: 2.031 kB / 3.59 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/6.806, allocations: 71.22 kB / 3.59 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/6.806, allocations: 11.02 kB / 3.59 GB, free: 320.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/6.806, allocations: 12.75 kB / 3.59 GB, free: 320.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003415/6.807, allocations: 264.5 kB / 3.59 GB, free: 320.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00186/6.809, allocations: 361.3 kB / 3.59 GB, free: 319.9 MB / 1.151 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.002062/6.811, allocations: 1.158 MB / 3.592 GB, free: 319.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007722/6.811, allocations: 333.4 kB / 3.592 GB, free: 319.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/6.811, allocations: 3.938 kB / 3.592 GB, free: 319.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/6.812, allocations: 203.5 kB / 3.592 GB, free: 319.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/6.813, allocations: 173.7 kB / 3.592 GB, free: 319.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/6.816, allocations: 0.7179 MB / 3.593 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/6.816, allocations: 0.9027 MB / 3.594 GB, free: 318.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.82e-07/6.816, allocations: 2.656 kB / 3.594 GB, free: 318.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)