Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.8 MB / 297.1 MB, free: 6.602 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.001242/0.001242, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.48/1.48, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.001202/0.001202, allocations: 83.42 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2843/0.2856, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/1.034, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.986/6.02, allocations: 2.126 GB / 3.099 GB, free: 333 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/6.021, allocations: 87.95 kB / 3.099 GB, free: 332.9 MB / 0.948 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.919/7.939, allocations: 0.6211 GB / 3.72 GB, free: 55.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/7.94, allocations: 12 kB / 3.72 GB, free: 55.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/7.943, allocations: 393.8 kB / 3.72 GB, free: 54.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/7.946, allocations: 1.214 MB / 3.721 GB, free: 53.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/7.946, allocations: 32 kB / 3.721 GB, free: 53.49 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/7.946, allocations: 60 kB / 3.721 GB, free: 53.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/7.948, allocations: 0.703 MB / 3.722 GB, free: 52.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/7.949, allocations: 0.9525 MB / 3.723 GB, free: 51.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/7.949, allocations: 3.938 kB / 3.723 GB, free: 51.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/7.949, allocations: 3.984 kB / 3.723 GB, free: 51.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/7.949, allocations: 38 kB / 3.723 GB, free: 51.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/7.955, allocations: 5.033 MB / 3.728 GB, free: 46.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009101/7.956, allocations: 0.6456 MB / 3.729 GB, free: 45.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/7.956, allocations: 314.7 kB / 3.729 GB, free: 45.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/7.957, allocations: 320 kB / 3.729 GB, free: 44.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/7.957, allocations: 51.16 kB / 3.729 GB, free: 44.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/7.957, allocations: 0 / 3.729 GB, free: 44.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00162/7.958, allocations: 0.7407 MB / 3.73 GB, free: 44.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/7.958, allocations: 166.9 kB / 3.73 GB, free: 43.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/7.959, allocations: 0.592 MB / 3.731 GB, free: 43.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/7.959, allocations: 33.64 kB / 3.731 GB, free: 43.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/7.959, allocations: 407.4 kB / 3.731 GB, free: 42.91 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/7.96, allocations: 244.3 kB / 3.731 GB, free: 42.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/7.96, allocations: 0 / 3.731 GB, free: 42.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/7.96, allocations: 334 kB / 3.732 GB, free: 42.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/7.96, allocations: 229.5 kB / 3.732 GB, free: 42.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/7.96, allocations: 461.5 kB / 3.732 GB, free: 41.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/7.961, allocations: 370.8 kB / 3.733 GB, free: 41.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/7.961, allocations: 0 / 3.733 GB, free: 41.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001265/7.962, allocations: 0.8147 MB / 3.733 GB, free: 40.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003247/7.963, allocations: 1.657 MB / 3.735 GB, free: 38.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/7.963, allocations: 4 kB / 3.735 GB, free: 38.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/7.963, allocations: 11.91 kB / 3.735 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/7.964, allocations: 279.6 kB / 3.735 GB, free: 38.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/7.966, allocations: 1.345 MB / 3.737 GB, free: 36.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/7.967, allocations: 99.44 kB / 3.737 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/7.967, allocations: 31.94 kB / 3.737 GB, free: 36.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-06/7.967, allocations: 4 kB / 3.737 GB, free: 36.71 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/7.968, allocations: 0.6853 MB / 3.738 GB, free: 36.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/7.968, allocations: 4 kB / 3.738 GB, free: 36.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/7.968, allocations: 12.59 kB / 3.738 GB, free: 36.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/7.969, allocations: 267.7 kB / 3.738 GB, free: 35.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009278/7.97, allocations: 1.345 MB / 3.739 GB, free: 34.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008801/7.971, allocations: 91.56 kB / 3.739 GB, free: 34.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/7.971, allocations: 35.98 kB / 3.739 GB, free: 34.16 MB / 0.948 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.000191/7.971, allocations: 132.6 kB / 3.739 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/7.972, allocations: 102.8 kB / 3.739 GB, free: 33.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/7.973, allocations: 0.8111 MB / 3.74 GB, free: 33.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/7.973, allocations: 4 kB / 3.74 GB, free: 33.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/7.973, allocations: 4 kB / 3.74 GB, free: 33.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001186/7.975, allocations: 0.7338 MB / 3.741 GB, free: 32.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/7.978, allocations: 1.874 MB / 3.743 GB, free: 30.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/7.978, allocations: 4 kB / 3.743 GB, free: 30.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/7.978, allocations: 155.8 kB / 3.743 GB, free: 30.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004195/7.979, allocations: 45.05 kB / 3.743 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/7.979, allocations: 11.98 kB / 3.743 GB, free: 30.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/7.98, allocations: 1.335 MB / 3.744 GB, free: 28.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/7.98, allocations: 0 / 3.744 GB, free: 28.71 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001943/7.982, allocations: 1.371 MB / 3.746 GB, free: 27.25 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002691/7.985, allocations: 2.231 MB / 3.748 GB, free: 24.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/7.985, allocations: 251.7 kB / 3.748 GB, free: 24.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/7.985, allocations: 7.938 kB / 3.748 GB, free: 24.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/7.986, allocations: 67.84 kB / 3.748 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/7.986, allocations: 44.53 kB / 3.748 GB, free: 24.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/7.986, allocations: 23.91 kB / 3.748 GB, free: 24.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005402/7.987, allocations: 459.9 kB / 3.749 GB, free: 24.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00373/7.991, allocations: 1.096 MB / 3.75 GB, free: 22.97 MB / 0.948 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.002514/7.993, allocations: 2.007 MB / 3.752 GB, free: 20.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003329/7.996, allocations: 1.18 MB / 3.753 GB, free: 19.71 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/7.996, allocations: 3.938 kB / 3.753 GB, free: 19.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/7.997, allocations: 433.4 kB / 3.753 GB, free: 19.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/7.999, allocations: 411.4 kB / 3.754 GB, free: 18.87 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/8.003, allocations: 1.682 MB / 3.755 GB, free: 17.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/8.004, allocations: 1.273 MB / 3.757 GB, free: 15.82 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/8.004, allocations: 0 / 3.757 GB, free: 15.82 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)