Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.031/2.031, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001091/0.001091, allocations: 173.3 kB / 487 MB, free: 5.438 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.365/1.365, allocations: 221.3 MB / 0.7819 GB, free: 1.555 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.0011/0.0011, allocations: 106.5 kB / 0.9213 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6096/0.6108, allocations: 148.4 MB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.8711, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.684/6.555, allocations: 2.541 GB / 3.746 GB, free: 219.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/6.556, allocations: 87.56 kB / 3.746 GB, free: 219.6 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 4.854/11.41, allocations: 1.423 GB / 5.17 GB, free: 80.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/11.41, allocations: 10.64 kB / 5.17 GB, free: 80.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/11.41, allocations: 353.8 kB / 5.17 GB, free: 79.85 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/11.41, allocations: 0.9425 MB / 5.171 GB, free: 78.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/11.41, allocations: 32 kB / 5.171 GB, free: 78.84 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/11.41, allocations: 60 kB / 5.171 GB, free: 78.78 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/11.41, allocations: 0.9178 MB / 5.172 GB, free: 77.86 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/11.42, allocations: 1.308 MB / 5.173 GB, free: 76.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/11.42, allocations: 0 / 5.173 GB, free: 76.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/11.42, allocations: 7.984 kB / 5.173 GB, free: 76.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/11.42, allocations: 49.8 kB / 5.173 GB, free: 76.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/11.42, allocations: 5.028 MB / 5.178 GB, free: 71.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/11.42, allocations: 301.1 kB / 5.178 GB, free: 70.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/11.42, allocations: 246.6 kB / 5.179 GB, free: 70.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/11.42, allocations: 1.079 MB / 5.18 GB, free: 69.25 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/11.42, allocations: 46.5 kB / 5.18 GB, free: 69.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.205e-06/11.42, allocations: 0 / 5.18 GB, free: 69.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001819/11.42, allocations: 0.5742 MB / 5.18 GB, free: 68.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/11.42, allocations: 85.09 kB / 5.18 GB, free: 68.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/11.42, allocations: 0.5551 MB / 5.181 GB, free: 67.96 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/11.42, allocations: 29.7 kB / 5.181 GB, free: 67.93 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/11.42, allocations: 458.5 kB / 5.181 GB, free: 67.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/11.42, allocations: 94.59 kB / 5.181 GB, free: 67.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/11.43, allocations: 0 / 5.181 GB, free: 67.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/11.43, allocations: 325.8 kB / 5.182 GB, free: 67.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/11.43, allocations: 155.9 kB / 5.182 GB, free: 66.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/11.43, allocations: 313.8 kB / 5.182 GB, free: 66.53 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/11.43, allocations: 231.8 kB / 5.182 GB, free: 66.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/11.43, allocations: 0 / 5.182 GB, free: 66.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007195/11.43, allocations: 0.5121 MB / 5.183 GB, free: 65.79 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/11.43, allocations: 4 kB / 5.183 GB, free: 65.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/11.43, allocations: 4 kB / 5.183 GB, free: 65.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/11.43, allocations: 4 kB / 5.183 GB, free: 65.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/11.43, allocations: 55.92 kB / 5.183 GB, free: 65.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/11.43, allocations: 7.938 kB / 5.183 GB, free: 65.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/11.43, allocations: 31.8 kB / 5.183 GB, free: 65.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/11.43, allocations: 35.92 kB / 5.183 GB, free: 65.64 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001009/11.43, allocations: 112.9 kB / 5.183 GB, free: 65.53 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/11.43, allocations: 75.06 kB / 5.183 GB, free: 65.45 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/11.43, allocations: 321.9 kB / 5.184 GB, free: 65.12 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/11.43, allocations: 8 kB / 5.184 GB, free: 65.12 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/11.43, allocations: 0 / 5.184 GB, free: 65.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/11.43, allocations: 0 / 5.184 GB, free: 65.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/11.43, allocations: 2.356 MB / 5.186 GB, free: 62.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/11.43, allocations: 12.16 kB / 5.186 GB, free: 62.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/11.43, allocations: 55.86 kB / 5.186 GB, free: 62.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/11.43, allocations: 12.08 kB / 5.186 GB, free: 62.52 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/11.43, allocations: 11.98 kB / 5.186 GB, free: 62.51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/11.43, allocations: 8 kB / 5.186 GB, free: 62.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/11.43, allocations: 11.94 kB / 5.186 GB, free: 62.49 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005771/11.43, allocations: 0.8386 MB / 5.187 GB, free: 61.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009034/11.43, allocations: 1.287 MB / 5.188 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/11.43, allocations: 204 kB / 5.188 GB, free: 59.64 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/11.43, allocations: 11.98 kB / 5.188 GB, free: 59.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/11.43, allocations: 8 kB / 5.188 GB, free: 59.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/11.43, allocations: 35.83 kB / 5.188 GB, free: 59.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/11.43, allocations: 19.98 kB / 5.188 GB, free: 59.57 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004881/11.43, allocations: 475.1 kB / 5.189 GB, free: 59.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002944/11.44, allocations: 0.7133 MB / 5.189 GB, free: 58.39 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.003981/11.44, allocations: 2.439 MB / 5.192 GB, free: 55.87 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005523/11.44, allocations: 343.6 kB / 5.192 GB, free: 55.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/11.44, allocations: 0 / 5.192 GB, free: 55.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/11.44, allocations: 153.4 kB / 5.192 GB, free: 55.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/11.44, allocations: 431.5 kB / 5.193 GB, free: 54.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/11.45, allocations: 1.443 MB / 5.194 GB, free: 53.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/11.45, allocations: 1.288 MB / 5.195 GB, free: 52.11 MB / 1.151 GB Notification: Performance of SimCode: time 6.51e-07/11.45, allocations: 0 / 5.195 GB, free: 52.11 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)