Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.008/2.008, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 191.2 kB / 490.8 MB, free: 13.24 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.467/1.467, allocations: 221.4 MB / 0.7863 GB, free: 2.559 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009809/0.0009809, allocations: 92.98 kB / 0.9264 GB, free: 39.94 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3223/0.3233, allocations: 149.1 MB / 1.072 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/1.095, allocations: 143 MB / 1.212 GB, free: 63.23 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/5.489, allocations: 1.93 GB / 3.142 GB, free: 101.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/5.489, allocations: 88.67 kB / 3.142 GB, free: 101.7 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 5.129/10.62, allocations: 1.161 GB / 4.302 GB, free: 254.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/10.62, allocations: 12.81 kB / 4.302 GB, free: 254.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003602/10.62, allocations: 457.9 kB / 4.303 GB, free: 254.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004615/10.63, allocations: 1.179 MB / 4.304 GB, free: 253.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/10.63, allocations: 253.4 kB / 4.304 GB, free: 253.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/10.63, allocations: 52.16 kB / 4.304 GB, free: 253.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/10.63, allocations: 0.6269 MB / 4.305 GB, free: 253.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/10.63, allocations: 0.9793 MB / 4.306 GB, free: 252.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/10.63, allocations: 2.406 kB / 4.306 GB, free: 252.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/10.63, allocations: 7.156 kB / 4.306 GB, free: 252.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/10.63, allocations: 34.2 kB / 4.306 GB, free: 252.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009321/10.64, allocations: 5.721 MB / 4.311 GB, free: 247.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/10.64, allocations: 250 kB / 4.312 GB, free: 247.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/10.64, allocations: 132.1 kB / 4.312 GB, free: 247.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/10.64, allocations: 99.97 kB / 4.312 GB, free: 247.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/10.64, allocations: 46.48 kB / 4.312 GB, free: 247.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=20): time 5.22e-06/10.64, allocations: 0 / 4.312 GB, free: 247.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=20): time 0.001123/10.64, allocations: 310.1 kB / 4.312 GB, free: 246.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/10.64, allocations: 195.8 kB / 4.312 GB, free: 246.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/10.65, allocations: 0.7441 MB / 4.313 GB, free: 245.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/10.65, allocations: 33.64 kB / 4.313 GB, free: 245.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/10.65, allocations: 0.4916 MB / 4.314 GB, free: 245.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/10.65, allocations: 67.09 kB / 4.314 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/10.65, allocations: 0 / 4.314 GB, free: 245.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/10.65, allocations: 325.9 kB / 4.314 GB, free: 244.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/10.65, allocations: 147.5 kB / 4.314 GB, free: 244.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/10.65, allocations: 454.9 kB / 4.315 GB, free: 244.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/10.65, allocations: 243.5 kB / 4.315 GB, free: 244 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/10.65, allocations: 4 kB / 4.315 GB, free: 244 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001277/10.65, allocations: 0.6059 MB / 4.315 GB, free: 243.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/10.65, allocations: 6.297 kB / 4.315 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/10.65, allocations: 15.91 kB / 4.315 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/10.65, allocations: 12 kB / 4.315 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/10.65, allocations: 183.4 kB / 4.316 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/10.65, allocations: 15.94 kB / 4.316 GB, free: 243.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/10.65, allocations: 236.2 kB / 4.316 GB, free: 242.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/10.65, allocations: 43.91 kB / 4.316 GB, free: 242.9 MB / 1.167 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.0001697/10.65, allocations: 128.7 kB / 4.316 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/10.65, allocations: 94.78 kB / 4.316 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/10.65, allocations: 263.1 kB / 4.316 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/10.65, allocations: 4 kB / 4.316 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/10.65, allocations: 3.984 kB / 4.316 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/10.65, allocations: 4 kB / 4.316 GB, free: 242.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/10.66, allocations: 1.841 MB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.66, allocations: 4 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/10.66, allocations: 35.92 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/10.66, allocations: 11.98 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/10.66, allocations: 4 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/10.66, allocations: 11.94 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/10.66, allocations: 4 kB / 4.318 GB, free: 240.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006759/10.66, allocations: 0.6668 MB / 4.319 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001236/10.66, allocations: 1.173 MB / 4.32 GB, free: 238.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/10.66, allocations: 211.8 kB / 4.32 GB, free: 238 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/10.66, allocations: 11.98 kB / 4.32 GB, free: 238 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/10.66, allocations: 77.56 kB / 4.32 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/10.66, allocations: 31.25 kB / 4.32 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/10.66, allocations: 12 kB / 4.32 GB, free: 237.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0007923/10.66, allocations: 0.5725 MB / 4.321 GB, free: 237.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003826/10.66, allocations: 0.7373 MB / 4.322 GB, free: 236.5 MB / 1.167 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.0047/10.67, allocations: 2.619 MB / 4.324 GB, free: 234.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008718/10.67, allocations: 334.3 kB / 4.325 GB, free: 234 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/10.67, allocations: 4 kB / 4.325 GB, free: 234 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/10.67, allocations: 107.4 kB / 4.325 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/10.67, allocations: 386.4 kB / 4.325 GB, free: 233.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/10.68, allocations: 1.272 MB / 4.326 GB, free: 232.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/10.68, allocations: 1.213 MB / 4.327 GB, free: 231 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/10.68, allocations: 0 / 4.327 GB, free: 231 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)