Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.211/2.211, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001187/0.001187, allocations: 193.2 kB / 487 MB, free: 5.395 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.42/1.42, allocations: 221.3 MB / 0.7819 GB, free: 1.465 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.0009129/0.0009131, allocations: 97.42 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5945/0.5954, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.8565, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.959/1.816, allocations: 411.3 MB / 1.607 GB, free: 12.29 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/1.816, allocations: 84.83 kB / 1.607 GB, free: 12.25 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 1.116/2.932, allocations: 248.5 MB / 1.85 GB, free: 301.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/2.932, allocations: 8.375 kB / 1.85 GB, free: 301.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/2.933, allocations: 84.28 kB / 1.85 GB, free: 301.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03064/2.963, allocations: 12.46 MB / 1.862 GB, free: 293.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/2.964, allocations: 13.62 kB / 1.862 GB, free: 293.7 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/2.964, allocations: 34.73 kB / 1.862 GB, free: 293.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008317/2.965, allocations: 270.6 kB / 1.862 GB, free: 293.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007765/2.965, allocations: 426.2 kB / 1.863 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/2.965, allocations: 3.938 kB / 1.863 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/2.965, allocations: 0 / 1.863 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/2.965, allocations: 16 kB / 1.863 GB, free: 293.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/2.969, allocations: 2.66 MB / 1.865 GB, free: 290.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/2.969, allocations: 133.9 kB / 1.865 GB, free: 290.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/2.969, allocations: 97.19 kB / 1.866 GB, free: 290 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/2.97, allocations: 344.4 kB / 1.866 GB, free: 289.6 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/2.97, allocations: 30.75 kB / 1.866 GB, free: 289.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=22): time 2.365e-06/2.97, allocations: 0 / 1.866 GB, free: 289.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=22): time 0.0007046/2.97, allocations: 234 kB / 1.866 GB, free: 289.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/2.97, allocations: 55.41 kB / 1.866 GB, free: 289.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/2.971, allocations: 446.2 kB / 1.867 GB, free: 288.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/2.971, allocations: 29.7 kB / 1.867 GB, free: 288.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/2.971, allocations: 267.3 kB / 1.867 GB, free: 288.5 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/2.971, allocations: 86.78 kB / 1.867 GB, free: 288.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/2.971, allocations: 0 / 1.867 GB, free: 288.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001091/2.971, allocations: 358.8 kB / 1.867 GB, free: 288 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/2.972, allocations: 84.19 kB / 1.867 GB, free: 287.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/2.972, allocations: 222.9 kB / 1.868 GB, free: 287.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/2.972, allocations: 123.9 kB / 1.868 GB, free: 287.5 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/2.972, allocations: 4 kB / 1.868 GB, free: 287.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005899/2.973, allocations: 352.6 kB / 1.868 GB, free: 287.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003927/2.973, allocations: 1.655 MB / 1.87 GB, free: 285.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/2.973, allocations: 4 kB / 1.87 GB, free: 285.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/2.973, allocations: 11.98 kB / 1.87 GB, free: 285.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/2.973, allocations: 71.91 kB / 1.87 GB, free: 285.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/2.973, allocations: 7.938 kB / 1.87 GB, free: 285.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/2.974, allocations: 55.56 kB / 1.87 GB, free: 285.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/2.974, allocations: 20 kB / 1.87 GB, free: 285.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/2.974, allocations: 4 kB / 1.87 GB, free: 285.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004559/2.974, allocations: 255.5 kB / 1.87 GB, free: 285 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/2.974, allocations: 4 kB / 1.87 GB, free: 285 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/2.974, allocations: 11.94 kB / 1.87 GB, free: 285 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/2.975, allocations: 83.83 kB / 1.87 GB, free: 284.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/2.975, allocations: 4 kB / 1.87 GB, free: 284.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004528/2.975, allocations: 48.19 kB / 1.87 GB, free: 284.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/2.975, allocations: 23.91 kB / 1.87 GB, free: 284.8 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.000111/2.975, allocations: 117.5 kB / 1.87 GB, free: 284.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/2.975, allocations: 55.34 kB / 1.87 GB, free: 284.6 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/2.976, allocations: 272.6 kB / 1.871 GB, free: 284.4 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/2.976, allocations: 7.906 kB / 1.871 GB, free: 284.4 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.976, allocations: 0 / 1.871 GB, free: 284.4 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003126/2.976, allocations: 373.4 kB / 1.871 GB, free: 283.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/2.978, allocations: 0.9481 MB / 1.872 GB, free: 282.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/2.978, allocations: 7.906 kB / 1.872 GB, free: 282.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/2.978, allocations: 55.91 kB / 1.872 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/2.978, allocations: 4.281 kB / 1.872 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/2.978, allocations: 8 kB / 1.872 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/2.978, allocations: 4 kB / 1.872 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.978, allocations: 0 / 1.872 GB, free: 282.8 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006359/2.979, allocations: 0.6009 MB / 1.873 GB, free: 282.1 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007478/2.979, allocations: 1.113 MB / 1.874 GB, free: 280.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/2.98, allocations: 172.4 kB / 1.874 GB, free: 280.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.52e-05/2.98, allocations: 3.984 kB / 1.874 GB, free: 280.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/2.98, allocations: 31.89 kB / 1.874 GB, free: 280.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/2.98, allocations: 15.98 kB / 1.874 GB, free: 280.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/2.98, allocations: 15.98 kB / 1.874 GB, free: 280.7 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0003327/2.981, allocations: 334.9 kB / 1.874 GB, free: 280.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002529/2.983, allocations: 455 kB / 1.875 GB, free: 279.9 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008139/2.984, allocations: 403.8 kB / 1.875 GB, free: 279.5 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005587/2.985, allocations: 382.5 kB / 1.875 GB, free: 279.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.985, allocations: 2.25 kB / 1.875 GB, free: 279.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/2.985, allocations: 95.86 kB / 1.876 GB, free: 279.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/2.986, allocations: 315.8 kB / 1.876 GB, free: 278.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/2.988, allocations: 0.8358 MB / 1.877 GB, free: 277.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/2.988, allocations: 0.9726 MB / 1.878 GB, free: 276.9 MB / 1.135 GB Notification: Performance of SimCode: time 3.31e-07/2.988, allocations: 0 / 1.878 GB, free: 276.9 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)