Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.065/2.065, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001146/0.001146, allocations: 185.2 kB / 487 MB, free: 5.398 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.412/1.412, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0009761/0.0009761, allocations: 102.9 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6266/0.6276, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.9268, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/5.63, allocations: 1.929 GB / 3.135 GB, free: 390.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.63, allocations: 91.64 kB / 3.135 GB, free: 390.5 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 3.513/9.143, allocations: 1.161 GB / 4.295 GB, free: 80.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/9.143, allocations: 8 kB / 4.295 GB, free: 80.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/9.146, allocations: 457.8 kB / 4.296 GB, free: 79.94 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/9.15, allocations: 1.175 MB / 4.297 GB, free: 78.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000955/9.151, allocations: 261.8 kB / 4.297 GB, free: 78.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/9.151, allocations: 52 kB / 4.297 GB, free: 78.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001341/9.152, allocations: 0.6209 MB / 4.298 GB, free: 77.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/9.154, allocations: 0.9835 MB / 4.299 GB, free: 76.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/9.154, allocations: 7.938 kB / 4.299 GB, free: 76.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/9.154, allocations: 4 kB / 4.299 GB, free: 76.69 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/9.154, allocations: 33.25 kB / 4.299 GB, free: 76.66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0075/9.161, allocations: 5.721 MB / 4.304 GB, free: 70.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/9.162, allocations: 239.7 kB / 4.305 GB, free: 70.39 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/9.162, allocations: 137.1 kB / 4.305 GB, free: 70.24 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/9.162, allocations: 101.1 kB / 4.305 GB, free: 70.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/9.162, allocations: 38.5 kB / 4.305 GB, free: 70.08 MB / 1.151 GB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/9.162, allocations: 0 / 4.305 GB, free: 70.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=20): time 0.0009261/9.163, allocations: 328.4 kB / 4.305 GB, free: 69.75 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/9.163, allocations: 183.9 kB / 4.305 GB, free: 69.53 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/9.164, allocations: 0.7441 MB / 4.306 GB, free: 68.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/9.165, allocations: 29.7 kB / 4.306 GB, free: 68.73 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/9.165, allocations: 497.3 kB / 4.307 GB, free: 68.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/9.165, allocations: 75 kB / 4.307 GB, free: 68.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/9.165, allocations: 4.125 kB / 4.307 GB, free: 68.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/9.165, allocations: 326 kB / 4.307 GB, free: 67.83 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/9.165, allocations: 145.3 kB / 4.307 GB, free: 67.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/9.166, allocations: 447.2 kB / 4.307 GB, free: 67.11 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/9.166, allocations: 235.7 kB / 4.308 GB, free: 66.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/9.166, allocations: 4 kB / 4.308 GB, free: 66.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001095/9.167, allocations: 0.6101 MB / 4.308 GB, free: 66.26 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/9.167, allocations: 4 kB / 4.308 GB, free: 66.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/9.167, allocations: 12.09 kB / 4.308 GB, free: 66.24 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/9.167, allocations: 15.98 kB / 4.308 GB, free: 66.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/9.168, allocations: 184.1 kB / 4.309 GB, free: 66.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/9.168, allocations: 23.91 kB / 4.309 GB, free: 66.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/9.17, allocations: 243.2 kB / 4.309 GB, free: 65.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/9.17, allocations: 39.92 kB / 4.309 GB, free: 65.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/9.17, allocations: 128.7 kB / 4.309 GB, free: 65.61 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/9.17, allocations: 94.78 kB / 4.309 GB, free: 65.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/9.171, allocations: 260.9 kB / 4.309 GB, free: 65.26 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/9.171, allocations: 8 kB / 4.309 GB, free: 65.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/9.171, allocations: 0 / 4.309 GB, free: 65.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/9.171, allocations: 4 kB / 4.309 GB, free: 65.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/9.173, allocations: 1.839 MB / 4.311 GB, free: 63.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/9.173, allocations: 4 kB / 4.311 GB, free: 63.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/9.174, allocations: 35.92 kB / 4.311 GB, free: 63.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/9.174, allocations: 8 kB / 4.311 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/9.174, allocations: 4 kB / 4.311 GB, free: 63.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/9.174, allocations: 15.84 kB / 4.311 GB, free: 63.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/9.174, allocations: 4.5 kB / 4.311 GB, free: 63.23 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006105/9.174, allocations: 0.6732 MB / 4.312 GB, free: 62.38 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001329/9.176, allocations: 1.176 MB / 4.313 GB, free: 61.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/9.176, allocations: 215.8 kB / 4.313 GB, free: 60.78 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002529/9.176, allocations: 8 kB / 4.313 GB, free: 60.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/9.177, allocations: 79.92 kB / 4.313 GB, free: 60.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/9.177, allocations: 27.89 kB / 4.313 GB, free: 60.67 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/9.177, allocations: 8 kB / 4.313 GB, free: 60.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008563/9.178, allocations: 0.5647 MB / 4.314 GB, free: 60.09 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003495/9.182, allocations: 0.7373 MB / 4.315 GB, free: 59.35 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00517/9.187, allocations: 2.62 MB / 4.317 GB, free: 56.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001187/9.188, allocations: 336.9 kB / 4.317 GB, free: 56.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/9.188, allocations: 4.938 kB / 4.317 GB, free: 56.22 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/9.188, allocations: 107.9 kB / 4.318 GB, free: 56.12 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/9.191, allocations: 397.3 kB / 4.318 GB, free: 55.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/9.195, allocations: 1.264 MB / 4.319 GB, free: 54.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009996/9.196, allocations: 1.21 MB / 4.32 GB, free: 53.14 MB / 1.151 GB Notification: Performance of SimCode: time 7.01e-07/9.196, allocations: 0 / 4.32 GB, free: 53.14 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)