Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.216/2.216, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.00143/0.00143, allocations: 180.8 kB / 487 MB, free: 5.41 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.693/1.693, allocations: 221.3 MB / 0.7819 GB, free: 1.473 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.001018/0.001018, allocations: 96.5 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6664/0.6674, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.9244, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.576/5.501, allocations: 1.918 GB / 3.124 GB, free: 401.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/5.501, allocations: 83.95 kB / 3.124 GB, free: 401.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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 1.44/6.941, allocations: 466.7 MB / 3.58 GB, free: 300.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/6.941, allocations: 6.594 kB / 3.58 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/6.944, allocations: 329.4 kB / 3.58 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/6.947, allocations: 0.8605 MB / 3.581 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/6.947, allocations: 26.06 kB / 3.581 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/6.947, allocations: 55.69 kB / 3.581 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001712/6.949, allocations: 0.7276 MB / 3.582 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/6.95, allocations: 0.8409 MB / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/6.95, allocations: 0 / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/6.95, allocations: 3.594 kB / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/6.95, allocations: 31.94 kB / 3.582 GB, free: 299.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/6.956, allocations: 3.411 MB / 3.586 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/6.957, allocations: 450 kB / 3.586 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/6.957, allocations: 262.1 kB / 3.586 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/6.957, allocations: 102.3 kB / 3.586 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/6.957, allocations: 43.56 kB / 3.587 GB, free: 298.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/6.957, allocations: 0 / 3.587 GB, free: 298.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003255/6.961, allocations: 1.357 MB / 3.588 GB, free: 298 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/6.961, allocations: 57.78 kB / 3.588 GB, free: 297.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/6.961, allocations: 0.5233 MB / 3.588 GB, free: 297.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/6.962, allocations: 28.92 kB / 3.588 GB, free: 297.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/6.962, allocations: 386.3 kB / 3.589 GB, free: 297.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/6.962, allocations: 164.5 kB / 3.589 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/6.962, allocations: 0 / 3.589 GB, free: 297.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001246/6.962, allocations: 389.6 kB / 3.589 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/6.962, allocations: 205 kB / 3.59 GB, free: 297.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/6.963, allocations: 326.9 kB / 3.59 GB, free: 297.1 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/6.966, allocations: 0.9507 MB / 3.591 GB, free: 297 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/6.966, allocations: 3.25 kB / 3.591 GB, free: 297 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001166/6.967, allocations: 0.697 MB / 3.591 GB, free: 296.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/6.967, allocations: 5.531 kB / 3.591 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/6.967, allocations: 2.469 kB / 3.591 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/6.967, allocations: 88.8 kB / 3.592 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/6.968, allocations: 139.7 kB / 3.592 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/6.97, allocations: 2.769 MB / 3.594 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/6.971, allocations: 56.83 kB / 3.594 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/6.971, allocations: 21.41 kB / 3.594 GB, free: 294.4 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start 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 (67): * Single equations (assignments): 65 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002033/6.971, allocations: 120 kB / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/6.971, allocations: 79.41 kB / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/6.972, allocations: 89.12 kB / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/6.972, allocations: 7.469 kB / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/6.972, allocations: 0 / 3.595 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009044/6.972, allocations: 0.7992 MB / 3.596 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/6.975, allocations: 1.587 MB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/6.976, allocations: 3.688 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/6.976, allocations: 110.7 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/6.976, allocations: 67.64 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/6.976, allocations: 7.5 kB / 3.597 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/6.978, allocations: 1.496 MB / 3.599 GB, free: 292.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/6.978, allocations: 6.688 kB / 3.599 GB, free: 292.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001432/6.979, allocations: 1.127 MB / 3.6 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00184/6.981, allocations: 1.836 MB / 3.602 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/6.981, allocations: 221.5 kB / 3.602 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/6.982, allocations: 9.5 kB / 3.602 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008585/6.982, allocations: 51.91 kB / 3.602 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/6.983, allocations: 35.39 kB / 3.602 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/6.983, allocations: 31.38 kB / 3.602 GB, free: 290.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005248/6.983, allocations: 414.3 kB / 3.602 GB, free: 290.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002663/6.986, allocations: 0.4934 MB / 3.603 GB, free: 290.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.002285/6.988, allocations: 1.453 MB / 3.604 GB, free: 290.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001186/6.989, allocations: 0.6883 MB / 3.605 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/6.989, allocations: 0 / 3.605 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/6.99, allocations: 348.7 kB / 3.605 GB, free: 290 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/6.992, allocations: 435.2 kB / 3.606 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/6.995, allocations: 1.338 MB / 3.607 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/6.996, allocations: 1.18 MB / 3.608 GB, free: 288.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.856e-06/6.996, allocations: 0 / 3.608 GB, free: 288.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)