Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.416/1.416, allocations: 285.5 MB / 292.8 MB, free: 14.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009488/0.0009488, allocations: 177.3 kB / 361.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 0.6195 GB, free: 2.918 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009198/0.0009197, allocations: 91.09 kB / 0.7325 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2265/0.2275, allocations: 121.5 MB / 0.8512 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.4429, allocations: 115.3 MB / 0.9638 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.752/4.195, allocations: 2.125 GB / 3.089 GB, free: 112.6 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/4.195, allocations: 89.69 kB / 3.089 GB, free: 112.6 MB / 0.9512 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.962/6.157, allocations: 0.6211 GB / 3.71 GB, free: 202.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/6.157, allocations: 7.312 kB / 3.71 GB, free: 202.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/6.16, allocations: 400.5 kB / 3.71 GB, free: 202.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/6.162, allocations: 1.219 MB / 3.711 GB, free: 202.4 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/6.162, allocations: 33.06 kB / 3.711 GB, free: 202.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/6.163, allocations: 68.97 kB / 3.712 GB, free: 202.4 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/6.164, allocations: 0.7017 MB / 3.712 GB, free: 202.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/6.165, allocations: 0.9474 MB / 3.713 GB, free: 202.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/6.165, allocations: 3.938 kB / 3.713 GB, free: 202.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/6.165, allocations: 3.625 kB / 3.713 GB, free: 202.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/6.166, allocations: 38.88 kB / 3.713 GB, free: 202.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/6.171, allocations: 5.04 MB / 3.718 GB, free: 199 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/6.172, allocations: 0.6483 MB / 3.719 GB, free: 198.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/6.172, allocations: 313.4 kB / 3.719 GB, free: 198.6 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/6.173, allocations: 314.5 kB / 3.719 GB, free: 198.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/6.173, allocations: 43.12 kB / 3.719 GB, free: 198.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.015e-06/6.173, allocations: 3.75 kB / 3.719 GB, free: 198.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.001494/6.174, allocations: 0.7524 MB / 3.72 GB, free: 198 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/6.174, allocations: 161.8 kB / 3.72 GB, free: 197.8 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/6.175, allocations: 0.5865 MB / 3.721 GB, free: 197.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/6.175, allocations: 31.98 kB / 3.721 GB, free: 197.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/6.175, allocations: 411 kB / 3.721 GB, free: 197.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/6.175, allocations: 242.8 kB / 3.722 GB, free: 197 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/6.175, allocations: 0 / 3.722 GB, free: 197 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/6.175, allocations: 335.5 kB / 3.722 GB, free: 196.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/6.176, allocations: 235.9 kB / 3.722 GB, free: 196.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/6.176, allocations: 453.3 kB / 3.723 GB, free: 196.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005766/6.177, allocations: 368.2 kB / 3.723 GB, free: 196.1 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/6.177, allocations: 3.875 kB / 3.723 GB, free: 196.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001197/6.178, allocations: 0.8216 MB / 3.724 GB, free: 195.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003105/6.178, allocations: 1.657 MB / 3.725 GB, free: 194.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/6.178, allocations: 7.656 kB / 3.725 GB, free: 194.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/6.178, allocations: 7.344 kB / 3.725 GB, free: 194.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/6.18, allocations: 264.2 kB / 3.726 GB, free: 194.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/6.181, allocations: 1.35 MB / 3.727 GB, free: 192.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/6.182, allocations: 95.27 kB / 3.727 GB, free: 192.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/6.182, allocations: 33.84 kB / 3.727 GB, free: 192.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/6.182, allocations: 6.625 kB / 3.727 GB, free: 192.7 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/6.183, allocations: 0.682 MB / 3.728 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/6.183, allocations: 3.844 kB / 3.728 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/6.183, allocations: 9.719 kB / 3.728 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/6.184, allocations: 266.9 kB / 3.728 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/6.185, allocations: 1.363 MB / 3.729 GB, free: 191.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/6.186, allocations: 92 kB / 3.729 GB, free: 191.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/6.186, allocations: 31.73 kB / 3.729 GB, free: 191.1 MB / 0.9512 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.0001835/6.187, allocations: 131.7 kB / 3.73 GB, free: 191 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/6.187, allocations: 109.3 kB / 3.73 GB, free: 190.9 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/6.188, allocations: 0.8014 MB / 3.73 GB, free: 190.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/6.188, allocations: 7.375 kB / 3.73 GB, free: 190.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/6.188, allocations: 7.219 kB / 3.73 GB, free: 190.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/6.19, allocations: 0.7278 MB / 3.731 GB, free: 190.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/6.193, allocations: 1.879 MB / 3.733 GB, free: 189.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/6.193, allocations: 6.047 kB / 3.733 GB, free: 189.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/6.194, allocations: 155.3 kB / 3.733 GB, free: 189.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/6.194, allocations: 46.97 kB / 3.733 GB, free: 189.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/6.195, allocations: 9.156 kB / 3.733 GB, free: 189.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/6.196, allocations: 1.32 MB / 3.734 GB, free: 188.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/6.196, allocations: 1.422 kB / 3.734 GB, free: 188.1 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002018/6.198, allocations: 1.373 MB / 3.736 GB, free: 187.3 MB / 0.9512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002706/6.2, allocations: 2.231 MB / 3.738 GB, free: 185.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/6.201, allocations: 250.4 kB / 3.738 GB, free: 185.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/6.201, allocations: 4.484 kB / 3.738 GB, free: 185.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/6.202, allocations: 68.31 kB / 3.738 GB, free: 185.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/6.202, allocations: 43.17 kB / 3.738 GB, free: 185.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/6.202, allocations: 24.16 kB / 3.738 GB, free: 185.7 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.0004741/6.202, allocations: 457.2 kB / 3.739 GB, free: 185.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003687/6.206, allocations: 1.108 MB / 3.74 GB, free: 184.9 MB / 0.9512 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.002434/6.209, allocations: 2.001 MB / 3.742 GB, free: 184.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003248/6.212, allocations: 1.182 MB / 3.743 GB, free: 183.9 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/6.212, allocations: 1.375 kB / 3.743 GB, free: 183.9 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/6.212, allocations: 427.8 kB / 3.743 GB, free: 183.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/6.214, allocations: 409.2 kB / 3.744 GB, free: 183.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/6.218, allocations: 1.692 MB / 3.745 GB, free: 183 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/6.219, allocations: 1.264 MB / 3.747 GB, free: 182.2 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/6.219, allocations: 0 / 3.747 GB, free: 182.2 MB / 0.9512 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)