Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.235/1.235, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001007/0.001007, allocations: 189.1 kB / 316 MB, free: 3.492 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.208/1.208, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008941/0.0008941, allocations: 94.19 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3862/0.3871, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.5661, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.947/4.513, allocations: 2.245 GB / 3.13 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/4.513, allocations: 87.95 kB / 3.13 GB, free: 139.6 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 1.781/6.294, allocations: 0.6042 GB / 3.734 GB, free: 176 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/6.294, allocations: 9.188 kB / 3.734 GB, free: 176 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/6.297, allocations: 391 kB / 3.735 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/6.3, allocations: 1.233 MB / 3.736 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/6.3, allocations: 31.75 kB / 3.736 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/6.3, allocations: 62.72 kB / 3.736 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001399/6.302, allocations: 0.7053 MB / 3.737 GB, free: 175 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/6.303, allocations: 0.9612 MB / 3.738 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/6.304, allocations: 1.344 kB / 3.738 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/6.304, allocations: 1.312 kB / 3.738 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/6.304, allocations: 35.7 kB / 3.738 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006456/6.31, allocations: 5.05 MB / 3.743 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/6.311, allocations: 0.6399 MB / 3.743 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/6.312, allocations: 321.2 kB / 3.744 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/6.312, allocations: 318.2 kB / 3.744 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/6.312, allocations: 44.19 kB / 3.744 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/6.312, allocations: 0 / 3.744 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001706/6.314, allocations: 0.7445 MB / 3.745 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/6.314, allocations: 167.1 kB / 3.745 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007934/6.315, allocations: 0.5933 MB / 3.745 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/6.315, allocations: 26.7 kB / 3.745 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/6.315, allocations: 417.2 kB / 3.746 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/6.315, allocations: 239.2 kB / 3.746 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/6.315, allocations: 0 / 3.746 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.558e-05/6.315, allocations: 334.8 kB / 3.746 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/6.316, allocations: 230.5 kB / 3.747 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/6.316, allocations: 455.8 kB / 3.747 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006836/6.317, allocations: 374.2 kB / 3.747 GB, free: 168 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/6.317, allocations: 1.375 kB / 3.747 GB, free: 168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001453/6.319, allocations: 0.8083 MB / 3.748 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/6.319, allocations: 1.656 MB / 3.75 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.319, allocations: 4.906 kB / 3.75 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/6.319, allocations: 9.656 kB / 3.75 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/6.321, allocations: 268.2 kB / 3.75 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/6.322, allocations: 1.355 MB / 3.751 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/6.323, allocations: 99.61 kB / 3.751 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/6.323, allocations: 34.84 kB / 3.752 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/6.323, allocations: 3.438 kB / 3.752 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/6.324, allocations: 0.6797 MB / 3.752 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/6.324, allocations: 8.312 kB / 3.752 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/6.324, allocations: 9.312 kB / 3.752 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/6.326, allocations: 261.9 kB / 3.752 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/6.327, allocations: 1.356 MB / 3.754 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/6.328, allocations: 96.14 kB / 3.754 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/6.328, allocations: 33.89 kB / 3.754 GB, free: 163 MB / 0.8698 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.0002041/6.328, allocations: 127.4 kB / 3.754 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/6.328, allocations: 101.8 kB / 3.754 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/6.33, allocations: 0.806 MB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/6.33, allocations: 6.719 kB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/6.33, allocations: 0.9688 kB / 3.755 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/6.332, allocations: 0.7301 MB / 3.756 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003946/6.336, allocations: 1.879 MB / 3.757 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/6.336, allocations: 1.438 kB / 3.757 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/6.337, allocations: 156.2 kB / 3.758 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/6.337, allocations: 51.98 kB / 3.758 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/6.337, allocations: 10.41 kB / 3.758 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/6.338, allocations: 1.322 MB / 3.759 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/6.338, allocations: 5.812 kB / 3.759 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00231/6.341, allocations: 1.36 MB / 3.76 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003284/6.344, allocations: 2.225 MB / 3.762 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/6.344, allocations: 263.7 kB / 3.763 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/6.345, allocations: 4.438 kB / 3.763 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/6.345, allocations: 62.72 kB / 3.763 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/6.345, allocations: 45.81 kB / 3.763 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/6.346, allocations: 20.22 kB / 3.763 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007607/6.346, allocations: 470.5 kB / 3.763 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004412/6.351, allocations: 1.101 MB / 3.764 GB, free: 156.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.002901/6.354, allocations: 2.006 MB / 3.766 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003619/6.357, allocations: 1.18 MB / 3.767 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/6.357, allocations: 0 / 3.767 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/6.358, allocations: 425.4 kB / 3.768 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/6.36, allocations: 413.4 kB / 3.768 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/6.364, allocations: 1.694 MB / 3.77 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007537/6.365, allocations: 1.271 MB / 3.771 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of SimCode: time 8.32e-07/6.365, allocations: 4 kB / 3.771 GB, free: 151.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)