Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",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 1.969/1.969, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001139/0.001139, allocations: 180.6 kB / 487 MB, free: 5.402 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.357/1.357, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.000994/0.0009939, allocations: 87.36 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5686/0.5696, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.8325, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.702/7.535, allocations: 2.868 GB / 4.073 GB, free: 330.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/7.535, allocations: 87.89 kB / 4.073 GB, free: 330.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 6.209/13.74, allocations: 1.762 GB / 5.835 GB, free: 186.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/13.74, allocations: 9.797 kB / 5.835 GB, free: 186.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/13.75, allocations: 467.7 kB / 5.836 GB, free: 186.2 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/13.75, allocations: 1.311 MB / 5.837 GB, free: 185.9 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/13.75, allocations: 39.03 kB / 5.837 GB, free: 185.9 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/13.75, allocations: 82.78 kB / 5.837 GB, free: 185.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002779/13.76, allocations: 1.081 MB / 5.838 GB, free: 185.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/13.76, allocations: 1.487 MB / 5.84 GB, free: 185.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/13.76, allocations: 5.5 kB / 5.84 GB, free: 185.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/13.76, allocations: 3.25 kB / 5.84 GB, free: 185.5 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-05/13.76, allocations: 55.86 kB / 5.84 GB, free: 185.5 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008398/13.77, allocations: 6.549 MB / 5.846 GB, free: 181.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/13.77, allocations: 0.615 MB / 5.847 GB, free: 181.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/13.77, allocations: 0.5929 MB / 5.847 GB, free: 181.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001861/13.77, allocations: 2.608 MB / 5.85 GB, free: 178.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/13.77, allocations: 49 kB / 5.85 GB, free: 178.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 5.66e-06/13.77, allocations: 0.7656 kB / 5.85 GB, free: 178.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.003854/13.78, allocations: 1.117 MB / 5.851 GB, free: 178.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/13.78, allocations: 221.3 kB / 5.851 GB, free: 178.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/13.78, allocations: 0.7814 MB / 5.852 GB, free: 178.4 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/13.78, allocations: 28.77 kB / 5.852 GB, free: 178.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/13.78, allocations: 0.5077 MB / 5.852 GB, free: 178.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/13.78, allocations: 236.5 kB / 5.853 GB, free: 178 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/13.78, allocations: 0 / 5.853 GB, free: 178 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/13.78, allocations: 329.4 kB / 5.853 GB, free: 177.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/13.78, allocations: 293.5 kB / 5.853 GB, free: 177.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/13.78, allocations: 0.5781 MB / 5.854 GB, free: 177.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/13.78, allocations: 462.8 kB / 5.854 GB, free: 177.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/13.78, allocations: 2.938 kB / 5.854 GB, free: 177.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001914/13.78, allocations: 0.939 MB / 5.855 GB, free: 177.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/13.78, allocations: 6.719 kB / 5.855 GB, free: 177.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/13.78, allocations: 5.562 kB / 5.855 GB, free: 177.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/13.78, allocations: 9.281 kB / 5.855 GB, free: 177.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/13.78, allocations: 122.9 kB / 5.855 GB, free: 177.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/13.78, allocations: 15.95 kB / 5.855 GB, free: 177.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/13.78, allocations: 42.23 kB / 5.855 GB, free: 177.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/13.78, allocations: 69.58 kB / 5.855 GB, free: 177.3 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0002143/13.78, allocations: 120.4 kB / 5.856 GB, free: 177.2 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004824/13.78, allocations: 130.5 kB / 5.856 GB, free: 177.2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/13.79, allocations: 1.082 MB / 5.857 GB, free: 177.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/13.79, allocations: 11.03 kB / 5.857 GB, free: 177.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/13.79, allocations: 6.688 kB / 5.857 GB, free: 177.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/13.79, allocations: 3.703 kB / 5.857 GB, free: 177.1 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/13.8, allocations: 8.585 MB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/13.8, allocations: 20.75 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/13.8, allocations: 141 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/13.8, allocations: 22.62 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/13.8, allocations: 34.33 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/13.8, allocations: 29.89 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.516e-05/13.8, allocations: 28.69 kB / 5.865 GB, free: 174.7 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00248/13.8, allocations: 2.55 MB / 5.868 GB, free: 172.7 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003294/13.8, allocations: 3.052 MB / 5.871 GB, free: 170.5 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/13.81, allocations: 310.5 kB / 5.871 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/13.81, allocations: 24.42 kB / 5.871 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/13.81, allocations: 34.47 kB / 5.871 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/13.81, allocations: 91.95 kB / 5.871 GB, free: 170.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/13.81, allocations: 51.47 kB / 5.871 GB, free: 170.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.001328/13.81, allocations: 0.6122 MB / 5.872 GB, free: 170.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004625/13.81, allocations: 1.024 MB / 5.873 GB, free: 170.1 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006982/13.82, allocations: 3.216 MB / 5.876 GB, free: 169.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.002009/13.82, allocations: 0.7868 MB / 5.877 GB, free: 169.4 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.248e-05/13.82, allocations: 3.344 kB / 5.877 GB, free: 169.4 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009376/13.82, allocations: 472 kB / 5.877 GB, free: 169.4 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/13.83, allocations: 0.7242 MB / 5.878 GB, free: 169.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/13.83, allocations: 2.424 MB / 5.88 GB, free: 168.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/13.83, allocations: 1.537 MB / 5.882 GB, free: 167.6 MB / 1.198 GB Notification: Performance of SimCode: time 8.42e-07/13.83, allocations: 3.938 kB / 5.882 GB, free: 167.6 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1)