Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.027/2.027, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001144/0.001144, allocations: 191.8 kB / 487 MB, free: 5.367 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.45/1.45, allocations: 221.3 MB / 0.7819 GB, free: 1.477 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.0009741/0.0009741, allocations: 93.73 kB / 0.9213 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6535/0.6545, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.97, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.727/5.697, allocations: 1.97 GB / 3.175 GB, free: 278.1 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/5.698, allocations: 91.89 kB / 3.175 GB, free: 278.1 MB / 1.135 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 1.964/7.661, allocations: 0.6317 GB / 3.807 GB, free: 59.05 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/7.661, allocations: 8 kB / 3.807 GB, free: 59.04 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/7.664, allocations: 393.8 kB / 3.807 GB, free: 58.65 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/7.668, allocations: 1.234 MB / 3.809 GB, free: 57.38 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/7.668, allocations: 35.91 kB / 3.809 GB, free: 57.34 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/7.668, allocations: 68 kB / 3.809 GB, free: 57.27 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/7.669, allocations: 0.7107 MB / 3.809 GB, free: 56.56 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/7.671, allocations: 0.9447 MB / 3.81 GB, free: 55.55 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/7.671, allocations: 11.94 kB / 3.81 GB, free: 55.54 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/7.671, allocations: 0 / 3.81 GB, free: 55.54 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/7.671, allocations: 34 kB / 3.81 GB, free: 55.51 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/7.676, allocations: 5.118 MB / 3.815 GB, free: 50.07 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/7.677, allocations: 0.6341 MB / 3.816 GB, free: 49.43 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/7.678, allocations: 322.6 kB / 3.816 GB, free: 49.11 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/7.678, allocations: 311.9 kB / 3.817 GB, free: 48.74 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/7.678, allocations: 47.2 kB / 3.817 GB, free: 48.69 MB / 1.135 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/7.678, allocations: 4 kB / 3.817 GB, free: 48.68 MB / 1.135 GB Notification: Performance of matching and sorting (n=70): time 0.001649/7.68, allocations: 0.7407 MB / 3.817 GB, free: 47.94 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/7.68, allocations: 162.9 kB / 3.818 GB, free: 47.74 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/7.681, allocations: 0.6001 MB / 3.818 GB, free: 47.12 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/7.681, allocations: 25.7 kB / 3.818 GB, free: 47.09 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/7.681, allocations: 419.4 kB / 3.819 GB, free: 46.67 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/7.681, allocations: 236.4 kB / 3.819 GB, free: 46.43 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/7.681, allocations: 0 / 3.819 GB, free: 46.43 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/7.681, allocations: 334 kB / 3.819 GB, free: 46.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/7.682, allocations: 233.5 kB / 3.819 GB, free: 45.88 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/7.682, allocations: 456.5 kB / 3.82 GB, free: 45.34 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/7.683, allocations: 369.3 kB / 3.82 GB, free: 44.98 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/7.683, allocations: 4 kB / 3.82 GB, free: 44.98 MB / 1.135 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001205/7.684, allocations: 0.8147 MB / 3.821 GB, free: 44.16 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003733/7.684, allocations: 1.658 MB / 3.823 GB, free: 42.36 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.684, allocations: 4 kB / 3.823 GB, free: 42.36 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/7.684, allocations: 15.89 kB / 3.823 GB, free: 42.34 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/7.686, allocations: 263.6 kB / 3.823 GB, free: 42.09 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/7.687, allocations: 1.357 MB / 3.824 GB, free: 40.61 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/7.688, allocations: 111.4 kB / 3.824 GB, free: 40.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.191e-05/7.688, allocations: 39.92 kB / 3.824 GB, free: 40.46 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/7.688, allocations: 4 kB / 3.824 GB, free: 40.45 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/7.69, allocations: 0.6814 MB / 3.825 GB, free: 39.77 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/7.69, allocations: 4 kB / 3.825 GB, free: 39.77 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/7.69, allocations: 8.562 kB / 3.825 GB, free: 39.76 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/7.691, allocations: 263.7 kB / 3.825 GB, free: 39.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/7.692, allocations: 1.357 MB / 3.827 GB, free: 38.03 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/7.693, allocations: 99.5 kB / 3.827 GB, free: 37.93 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/7.693, allocations: 40.08 kB / 3.827 GB, free: 37.89 MB / 1.135 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.000254/7.694, allocations: 128.7 kB / 3.827 GB, free: 37.76 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/7.694, allocations: 98.78 kB / 3.827 GB, free: 37.66 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/7.696, allocations: 0.8189 MB / 3.828 GB, free: 36.84 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/7.696, allocations: 8 kB / 3.828 GB, free: 36.83 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/7.696, allocations: 0 / 3.828 GB, free: 36.83 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/7.697, allocations: 0.7417 MB / 3.828 GB, free: 36.05 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003468/7.7, allocations: 1.878 MB / 3.83 GB, free: 34.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.83e-06/7.7, allocations: 4 kB / 3.83 GB, free: 34.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/7.701, allocations: 152 kB / 3.83 GB, free: 33.95 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/7.702, allocations: 44.83 kB / 3.83 GB, free: 33.9 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/7.702, allocations: 7.984 kB / 3.83 GB, free: 33.89 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/7.703, allocations: 1.323 MB / 3.832 GB, free: 32.45 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/7.703, allocations: 4.031 kB / 3.832 GB, free: 32.45 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001944/7.705, allocations: 1.332 MB / 3.833 GB, free: 31.03 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003019/7.708, allocations: 2.2 MB / 3.835 GB, free: 28.74 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/7.709, allocations: 251.6 kB / 3.835 GB, free: 28.48 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/7.709, allocations: 8 kB / 3.835 GB, free: 28.47 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/7.71, allocations: 67.88 kB / 3.835 GB, free: 28.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/7.71, allocations: 48.44 kB / 3.836 GB, free: 28.36 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-05/7.71, allocations: 23.98 kB / 3.836 GB, free: 28.33 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.000682/7.71, allocations: 468.1 kB / 3.836 GB, free: 27.86 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003956/7.714, allocations: 1.1 MB / 3.837 GB, free: 26.76 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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.002777/7.717, allocations: 1.997 MB / 3.839 GB, free: 24.69 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.003443/7.721, allocations: 1.18 MB / 3.84 GB, free: 23.51 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/7.721, allocations: 4.188 kB / 3.84 GB, free: 23.51 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/7.721, allocations: 425 kB / 3.841 GB, free: 23.09 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/7.723, allocations: 414.9 kB / 3.841 GB, free: 22.69 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/7.727, allocations: 1.694 MB / 3.843 GB, free: 20.93 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008614/7.728, allocations: 1.27 MB / 3.844 GB, free: 19.63 MB / 1.135 GB Notification: Performance of SimCode: time 1.012e-06/7.728, allocations: 0 / 3.844 GB, free: 19.63 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)