Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 189.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 94.31 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.35/0.351, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.5233, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.909/4.433, allocations: 2.203 GB / 3.088 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/4.433, allocations: 87.86 kB / 3.088 GB, free: 200.4 MB / 0.8698 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.165/7.598, allocations: 1.109 GB / 4.197 GB, free: 58.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/7.598, allocations: 8 kB / 4.197 GB, free: 58.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/7.6, allocations: 413.9 kB / 4.197 GB, free: 57.89 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/7.602, allocations: 1.159 MB / 4.198 GB, free: 56.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/7.603, allocations: 261.7 kB / 4.199 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/7.603, allocations: 52 kB / 4.199 GB, free: 56.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/7.604, allocations: 0.6248 MB / 4.199 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/7.606, allocations: 0.9837 MB / 4.2 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/7.606, allocations: 7.938 kB / 4.2 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/7.606, allocations: 0 / 4.2 GB, free: 54.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/7.606, allocations: 33.31 kB / 4.2 GB, free: 54.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/7.612, allocations: 5.495 MB / 4.206 GB, free: 48.87 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/7.612, allocations: 239.7 kB / 4.206 GB, free: 48.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/7.612, allocations: 137.2 kB / 4.206 GB, free: 48.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/7.612, allocations: 97.09 kB / 4.206 GB, free: 48.32 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/7.612, allocations: 46.5 kB / 4.206 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/7.612, allocations: 0 / 4.206 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.00076/7.613, allocations: 316 kB / 4.206 GB, free: 47.95 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/7.613, allocations: 192 kB / 4.207 GB, free: 47.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/7.614, allocations: 0.7396 MB / 4.207 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/7.614, allocations: 29.7 kB / 4.207 GB, free: 46.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/7.614, allocations: 493.4 kB / 4.208 GB, free: 46.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/7.614, allocations: 71 kB / 4.208 GB, free: 46.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/7.614, allocations: 4 kB / 4.208 GB, free: 46.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/7.614, allocations: 325.9 kB / 4.208 GB, free: 46.04 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/7.615, allocations: 141.3 kB / 4.208 GB, free: 45.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/7.615, allocations: 451.2 kB / 4.209 GB, free: 45.31 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/7.615, allocations: 243.7 kB / 4.209 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/7.615, allocations: 4 kB / 4.209 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008992/7.616, allocations: 0.6061 MB / 4.21 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/7.616, allocations: 4.188 kB / 4.21 GB, free: 44.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/7.616, allocations: 12 kB / 4.21 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/7.616, allocations: 16 kB / 4.21 GB, free: 44.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/7.617, allocations: 183.7 kB / 4.21 GB, free: 44.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/7.617, allocations: 19.94 kB / 4.21 GB, free: 44.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/7.618, allocations: 243.1 kB / 4.21 GB, free: 43.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.967e-05/7.618, allocations: 39.97 kB / 4.21 GB, free: 43.95 MB / 0.8698 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.0001065/7.619, allocations: 128.7 kB / 4.21 GB, free: 43.81 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/7.619, allocations: 90.88 kB / 4.21 GB, free: 43.72 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/7.619, allocations: 259.5 kB / 4.211 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/7.619, allocations: 4 kB / 4.211 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/7.619, allocations: 11.92 kB / 4.211 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/7.619, allocations: 0 / 4.211 GB, free: 43.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/7.621, allocations: 1.84 MB / 4.212 GB, free: 41.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/7.621, allocations: 4 kB / 4.212 GB, free: 41.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/7.622, allocations: 39.92 kB / 4.212 GB, free: 41.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/7.622, allocations: 4 kB / 4.212 GB, free: 41.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/7.622, allocations: 8 kB / 4.212 GB, free: 41.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/7.622, allocations: 11.92 kB / 4.212 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.622, allocations: 4 kB / 4.212 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004126/7.622, allocations: 0.6647 MB / 4.213 GB, free: 40.59 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008225/7.623, allocations: 1.173 MB / 4.214 GB, free: 39.23 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/7.623, allocations: 207.8 kB / 4.214 GB, free: 39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/7.623, allocations: 15.98 kB / 4.214 GB, free: 38.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/7.624, allocations: 75.94 kB / 4.214 GB, free: 38.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/7.624, allocations: 31.83 kB / 4.215 GB, free: 38.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/7.624, allocations: 12 kB / 4.215 GB, free: 38.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005604/7.625, allocations: 0.5567 MB / 4.215 GB, free: 38.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002198/7.627, allocations: 0.7139 MB / 4.216 GB, free: 37.59 MB / 0.8698 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.002642/7.629, allocations: 2.585 MB / 4.218 GB, free: 34.81 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005123/7.63, allocations: 341.1 kB / 4.219 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/7.63, allocations: 5.641 kB / 4.219 GB, free: 34.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/7.63, allocations: 103.8 kB / 4.219 GB, free: 34.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/7.632, allocations: 392.3 kB / 4.219 GB, free: 34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/7.634, allocations: 1.247 MB / 4.22 GB, free: 32.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007003/7.635, allocations: 1.218 MB / 4.222 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/7.635, allocations: 0 / 4.222 GB, free: 31.41 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)