Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0.0/package.mo): time 2.583/2.583, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001711/0.001711, allocations: 187.5 kB / 360.3 MB, free: 7.555 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.992/1.992, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001294/0.001294, allocations: 89.62 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2871/0.2884, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.9496, allocations: 115.2 MB / 0.9627 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.447/6.397, allocations: 2.125 GB / 3.088 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004735/6.398, allocations: 88.59 kB / 3.088 GB, free: 257.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 3.218/9.615, allocations: 0.6211 GB / 3.709 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/9.615, allocations: 8.406 kB / 3.709 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004102/9.619, allocations: 401.5 kB / 3.709 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/9.625, allocations: 1.22 MB / 3.71 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/9.625, allocations: 32.81 kB / 3.71 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/9.625, allocations: 67.03 kB / 3.71 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002238/9.627, allocations: 0.7072 MB / 3.711 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/9.63, allocations: 0.9507 MB / 3.712 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/9.63, allocations: 0 / 3.712 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/9.63, allocations: 7 kB / 3.712 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-05/9.63, allocations: 33.53 kB / 3.712 GB, free: 171 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/9.645, allocations: 5.048 MB / 3.717 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/9.648, allocations: 0.6423 MB / 3.718 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/9.649, allocations: 314.4 kB / 3.718 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/9.65, allocations: 315.1 kB / 3.718 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/9.65, allocations: 38.78 kB / 3.718 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 3.587e-06/9.65, allocations: 0 / 3.718 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.003038/9.653, allocations: 0.7512 MB / 3.719 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/9.653, allocations: 162.6 kB / 3.719 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/9.654, allocations: 0.5903 MB / 3.72 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/9.655, allocations: 25.7 kB / 3.72 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/9.655, allocations: 413.6 kB / 3.72 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/9.655, allocations: 236.1 kB / 3.72 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/9.655, allocations: 0 / 3.72 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/9.655, allocations: 341.6 kB / 3.721 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/9.656, allocations: 233 kB / 3.721 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/9.657, allocations: 456.3 kB / 3.721 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/9.658, allocations: 367.1 kB / 3.722 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/9.658, allocations: 3.656 kB / 3.722 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002436/9.661, allocations: 0.8079 MB / 3.722 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004209/9.661, allocations: 1.667 MB / 3.724 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/9.661, allocations: 3.25 kB / 3.724 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/9.661, allocations: 13.88 kB / 3.724 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/9.664, allocations: 262.3 kB / 3.724 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/9.666, allocations: 1.363 MB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/9.668, allocations: 95.11 kB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/9.668, allocations: 36.95 kB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/9.668, allocations: 3.5 kB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002078/9.67, allocations: 0.68 MB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/9.67, allocations: 7.281 kB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/9.67, allocations: 10.75 kB / 3.726 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/9.674, allocations: 259.4 kB / 3.727 GB, free: 163.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/9.675, allocations: 1.348 MB / 3.728 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/9.677, allocations: 98.03 kB / 3.728 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/9.677, allocations: 38.78 kB / 3.728 GB, free: 162.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003134/9.678, allocations: 133.5 kB / 3.728 GB, free: 162 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/9.678, allocations: 105.1 kB / 3.728 GB, free: 161.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/9.681, allocations: 0.7985 MB / 3.729 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/9.681, allocations: 10.66 kB / 3.729 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/9.681, allocations: 0 / 3.729 GB, free: 161.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002247/9.683, allocations: 0.7449 MB / 3.73 GB, free: 161.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/9.689, allocations: 1.876 MB / 3.732 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/9.689, allocations: 0 / 3.732 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/9.691, allocations: 160 kB / 3.732 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009233/9.692, allocations: 48.98 kB / 3.732 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/9.692, allocations: 3.969 kB / 3.732 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/9.695, allocations: 1.323 MB / 3.733 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/9.695, allocations: 0 / 3.733 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003785/9.699, allocations: 1.372 MB / 3.735 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005839/9.705, allocations: 2.238 MB / 3.737 GB, free: 158.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/9.706, allocations: 253.1 kB / 3.737 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000604/9.707, allocations: 7.906 kB / 3.737 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/9.71, allocations: 67.59 kB / 3.737 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/9.71, allocations: 40.56 kB / 3.737 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/9.711, allocations: 26.94 kB / 3.737 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001843/9.712, allocations: 459.5 kB / 3.738 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008549/9.721, allocations: 1.1 MB / 3.739 GB, free: 158.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003374/9.724, allocations: 1.998 MB / 3.741 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006033/9.731, allocations: 1.184 MB / 3.742 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/9.731, allocations: 3.75 kB / 3.742 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/9.732, allocations: 428 kB / 3.742 GB, free: 158 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/9.736, allocations: 414.5 kB / 3.743 GB, free: 158 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/9.742, allocations: 1.684 MB / 3.744 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/9.744, allocations: 1.264 MB / 3.745 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.934e-06/9.744, allocations: 0 / 3.745 GB, free: 156.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)