Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.703/2.703, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001641/0.001641, allocations: 181.2 kB / 360.3 MB, free: 7.508 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.892/1.892, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001834/0.001834, allocations: 86.5 kB / 0.7317 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3199/0.3217, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.9631, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.381/6.344, allocations: 2.084 GB / 3.046 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000443/6.345, allocations: 87.94 kB / 3.047 GB, free: 269.9 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: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 5.532/11.88, allocations: 1.147 GB / 4.194 GB, free: 160.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/11.88, allocations: 10.78 kB / 4.194 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005896/11.88, allocations: 458.6 kB / 4.194 GB, free: 160.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005862/11.89, allocations: 1.156 MB / 4.195 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001962/11.89, allocations: 256.6 kB / 4.196 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/11.89, allocations: 52.75 kB / 4.196 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002118/11.89, allocations: 0.629 MB / 4.196 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0025/11.9, allocations: 0.9809 MB / 4.197 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/11.9, allocations: 6.922 kB / 4.197 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/11.9, allocations: 3.344 kB / 4.197 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/11.9, allocations: 30.53 kB / 4.197 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/11.91, allocations: 5.651 MB / 4.203 GB, free: 156.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/11.91, allocations: 248 kB / 4.203 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/11.91, allocations: 136.1 kB / 4.203 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/11.91, allocations: 98.62 kB / 4.203 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/11.91, allocations: 47.22 kB / 4.203 GB, free: 156.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 3.487e-06/11.91, allocations: 0 / 4.203 GB, free: 156.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.001274/11.91, allocations: 319.1 kB / 4.204 GB, free: 156.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/11.91, allocations: 186.9 kB / 4.204 GB, free: 156.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/11.91, allocations: 0.7384 MB / 4.205 GB, free: 156 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/11.91, allocations: 29.55 kB / 4.205 GB, free: 156 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/11.91, allocations: 491.6 kB / 4.205 GB, free: 155.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/11.91, allocations: 75.5 kB / 4.205 GB, free: 155.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/11.91, allocations: 0 / 4.205 GB, free: 155.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/11.91, allocations: 325.5 kB / 4.205 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/11.91, allocations: 149.4 kB / 4.206 GB, free: 155.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/11.91, allocations: 444.2 kB / 4.206 GB, free: 155.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/11.91, allocations: 244.2 kB / 4.206 GB, free: 155.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/11.91, allocations: 3.938 kB / 4.206 GB, free: 155.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001871/11.92, allocations: 0.6178 MB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/11.92, allocations: 3.906 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/11.92, allocations: 7.25 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/11.92, allocations: 14.31 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/11.92, allocations: 191.1 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/11.92, allocations: 18.28 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/11.92, allocations: 240.9 kB / 4.207 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/11.92, allocations: 36.3 kB / 4.207 GB, free: 155 MB / 0.948 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.0002014/11.92, allocations: 131.8 kB / 4.207 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/11.92, allocations: 92.16 kB / 4.207 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009312/11.92, allocations: 257.2 kB / 4.208 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/11.92, allocations: 7.75 kB / 4.208 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/11.92, allocations: 0 / 4.208 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/11.92, allocations: 11.66 kB / 4.208 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/11.93, allocations: 1.831 MB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/11.93, allocations: 6.5 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/11.93, allocations: 40.89 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/11.93, allocations: 7.656 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/11.93, allocations: 3.375 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.054e-05/11.93, allocations: 12.22 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/11.93, allocations: 6.344 kB / 4.21 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001053/11.93, allocations: 0.6628 MB / 4.21 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001504/11.93, allocations: 1.176 MB / 4.211 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/11.93, allocations: 211.2 kB / 4.212 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/11.93, allocations: 7.375 kB / 4.212 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/11.93, allocations: 78.69 kB / 4.212 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.482e-05/11.93, allocations: 27.33 kB / 4.212 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/11.93, allocations: 16.41 kB / 4.212 GB, free: 152.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001194/11.93, allocations: 0.5634 MB / 4.212 GB, free: 152.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003938/11.94, allocations: 0.7377 MB / 4.213 GB, free: 152.1 MB / 0.948 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.004375/11.94, allocations: 2.612 MB / 4.216 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001109/11.94, allocations: 338.4 kB / 4.216 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/11.94, allocations: 0 / 4.216 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/11.94, allocations: 103.2 kB / 4.216 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003638/11.95, allocations: 390.3 kB / 4.216 GB, free: 151.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/11.95, allocations: 1.259 MB / 4.218 GB, free: 150.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/11.95, allocations: 1.211 MB / 4.219 GB, free: 150 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/11.95, allocations: 2.953 kB / 4.219 GB, free: 150 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)