Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.354/2.354, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001296/0.001296, allocations: 181.2 kB / 490.8 MB, free: 1.934 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.712/1.712, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.0009619, allocations: 91.97 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7681/0.7691, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/1.081, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.699/5.78, allocations: 1.919 GB / 3.131 GB, free: 347.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/5.781, allocations: 90.72 kB / 3.131 GB, free: 347.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.81/7.591, allocations: 466.7 MB / 3.587 GB, free: 305 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/7.591, allocations: 9.531 kB / 3.587 GB, free: 305 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/7.593, allocations: 328.8 kB / 3.587 GB, free: 304.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/7.595, allocations: 0.8583 MB / 3.588 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/7.595, allocations: 26.28 kB / 3.588 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/7.595, allocations: 52.62 kB / 3.588 GB, free: 304.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/7.596, allocations: 0.7346 MB / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/7.597, allocations: 0.8404 MB / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/7.597, allocations: 0 / 3.589 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/7.597, allocations: 3.531 kB / 3.59 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.528e-05/7.598, allocations: 30.44 kB / 3.59 GB, free: 304.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005232/7.603, allocations: 3.4 MB / 3.593 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/7.604, allocations: 449.5 kB / 3.593 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/7.604, allocations: 261.9 kB / 3.594 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/7.604, allocations: 97.41 kB / 3.594 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/7.604, allocations: 46.27 kB / 3.594 GB, free: 303.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/7.604, allocations: 6.844 kB / 3.594 GB, free: 303.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003784/7.608, allocations: 1.351 MB / 3.595 GB, free: 302.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/7.608, allocations: 57.62 kB / 3.595 GB, free: 302.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.609, allocations: 0.5238 MB / 3.596 GB, free: 302.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/7.609, allocations: 27.36 kB / 3.596 GB, free: 302.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/7.61, allocations: 385.3 kB / 3.596 GB, free: 302.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/7.61, allocations: 162.8 kB / 3.596 GB, free: 302.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/7.61, allocations: 4.906 kB / 3.596 GB, free: 302.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001743/7.61, allocations: 384.4 kB / 3.596 GB, free: 301.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/7.61, allocations: 210.5 kB / 3.597 GB, free: 301.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/7.611, allocations: 324.5 kB / 3.597 GB, free: 301.8 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.003774/7.615, allocations: 0.9518 MB / 3.598 GB, free: 301.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/7.615, allocations: 6.703 kB / 3.598 GB, free: 301.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001829/7.617, allocations: 0.6986 MB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/7.617, allocations: 4.609 kB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/7.617, allocations: 2.719 kB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/7.617, allocations: 94.06 kB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/7.618, allocations: 130.9 kB / 3.599 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/7.62, allocations: 2.782 MB / 3.602 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/7.621, allocations: 50.8 kB / 3.602 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/7.622, allocations: 25.31 kB / 3.602 GB, free: 299.2 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.0002034/7.622, allocations: 125.3 kB / 3.602 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/7.622, allocations: 78.91 kB / 3.602 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/7.622, allocations: 85.78 kB / 3.602 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/7.622, allocations: 6.281 kB / 3.602 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/7.622, allocations: 0.9375 kB / 3.602 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/7.623, allocations: 0.7926 MB / 3.603 GB, free: 298.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/7.627, allocations: 1.587 MB / 3.604 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/7.627, allocations: 7.688 kB / 3.604 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/7.627, allocations: 107.6 kB / 3.604 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/7.628, allocations: 72.86 kB / 3.604 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/7.628, allocations: 6.766 kB / 3.604 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/7.629, allocations: 1.503 MB / 3.606 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/7.63, allocations: 3.938 kB / 3.606 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001811/7.631, allocations: 1.12 MB / 3.607 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002672/7.634, allocations: 1.846 MB / 3.609 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/7.635, allocations: 222.2 kB / 3.609 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/7.635, allocations: 8.797 kB / 3.609 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/7.636, allocations: 52.23 kB / 3.609 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/7.636, allocations: 35.55 kB / 3.609 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/7.636, allocations: 34.98 kB / 3.609 GB, free: 295.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007067/7.636, allocations: 409.2 kB / 3.61 GB, free: 295.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002819/7.639, allocations: 0.4953 MB / 3.61 GB, free: 295.3 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.002297/7.642, allocations: 1.441 MB / 3.611 GB, free: 294.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001347/7.643, allocations: 0.6976 MB / 3.612 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/7.643, allocations: 1.469 kB / 3.612 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005016/7.643, allocations: 346.3 kB / 3.612 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/7.646, allocations: 438.8 kB / 3.613 GB, free: 294.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/7.649, allocations: 1.338 MB / 3.614 GB, free: 293.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/7.65, allocations: 1.172 MB / 3.615 GB, free: 293 MB / 1.151 GB Notification: Performance of SimCode: time 2.094e-06/7.65, allocations: 4.688 kB / 3.615 GB, free: 293 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)