Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.983/1.983, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001154/0.001155, allocations: 183.7 kB / 490.8 MB, free: 1.926 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.376/1.376, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 86.73 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5923/0.5933, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.8819, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/7.549, allocations: 2.868 GB / 4.08 GB, free: 307 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/7.549, allocations: 83.02 kB / 4.08 GB, free: 306.9 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 5.942/13.49, allocations: 1.762 GB / 5.842 GB, free: 181.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/13.49, allocations: 14.64 kB / 5.842 GB, free: 181.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/13.49, allocations: 463.8 kB / 5.843 GB, free: 181.3 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/13.5, allocations: 1.321 MB / 5.844 GB, free: 181 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/13.5, allocations: 40.47 kB / 5.844 GB, free: 181 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005563/13.5, allocations: 80.94 kB / 5.844 GB, free: 181 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002748/13.5, allocations: 1.084 MB / 5.845 GB, free: 181 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/13.5, allocations: 1.482 MB / 5.847 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/13.5, allocations: 4.656 kB / 5.847 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/13.5, allocations: 0 / 5.847 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/13.5, allocations: 58.08 kB / 5.847 GB, free: 180.7 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/13.51, allocations: 6.534 MB / 5.853 GB, free: 177.1 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008658/13.51, allocations: 0.6215 MB / 5.854 GB, free: 176.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/13.51, allocations: 0.5801 MB / 5.854 GB, free: 176.9 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/13.52, allocations: 2.611 MB / 5.857 GB, free: 174.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/13.52, allocations: 42.19 kB / 5.857 GB, free: 174 MB / 1.198 GB Notification: Performance of pre-optimization done (n=72): time 3.606e-06/13.52, allocations: 0 / 5.857 GB, free: 174 MB / 1.198 GB Notification: Performance of matching and sorting (n=72): time 0.003518/13.52, allocations: 1.128 MB / 5.858 GB, free: 173.9 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/13.52, allocations: 215.1 kB / 5.858 GB, free: 173.7 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/13.52, allocations: 0.7854 MB / 5.859 GB, free: 173.5 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/13.52, allocations: 29.61 kB / 5.859 GB, free: 173.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/13.52, allocations: 0.5027 MB / 5.86 GB, free: 173.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/13.52, allocations: 239.5 kB / 5.86 GB, free: 173.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/13.52, allocations: 0 / 5.86 GB, free: 173.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/13.52, allocations: 327.8 kB / 5.86 GB, free: 172.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/13.52, allocations: 298.4 kB / 5.86 GB, free: 172.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/13.52, allocations: 0.5744 MB / 5.861 GB, free: 172.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009691/13.52, allocations: 462.7 kB / 5.861 GB, free: 172.6 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/13.52, allocations: 0 / 5.861 GB, free: 172.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001692/13.53, allocations: 0.9379 MB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/13.53, allocations: 6.938 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/13.53, allocations: 9.609 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/13.53, allocations: 10.91 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/13.53, allocations: 121.1 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/13.53, allocations: 15.47 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/13.53, allocations: 41.11 kB / 5.862 GB, free: 172.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/13.53, allocations: 71.14 kB / 5.863 GB, free: 172.5 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.000168/13.53, allocations: 132.4 kB / 5.863 GB, free: 172.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/13.53, allocations: 125.7 kB / 5.863 GB, free: 172.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/13.53, allocations: 1.088 MB / 5.864 GB, free: 172.3 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/13.53, allocations: 11.72 kB / 5.864 GB, free: 172.3 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/13.53, allocations: 0 / 5.864 GB, free: 172.3 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/13.53, allocations: 11.34 kB / 5.864 GB, free: 172.3 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/13.54, allocations: 8.586 MB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/13.54, allocations: 16.75 kB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/13.54, allocations: 141.2 kB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.438e-05/13.54, allocations: 22.78 kB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/13.54, allocations: 26.61 kB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.07e-05/13.54, allocations: 29.48 kB / 5.872 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/13.54, allocations: 22.72 kB / 5.873 GB, free: 169.8 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002685/13.54, allocations: 2.558 MB / 5.875 GB, free: 167.9 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003676/13.55, allocations: 3.048 MB / 5.878 GB, free: 165.6 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/13.55, allocations: 318.9 kB / 5.878 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/13.55, allocations: 26.83 kB / 5.878 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008999/13.55, allocations: 33.11 kB / 5.878 GB, free: 165.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/13.55, allocations: 87.23 kB / 5.878 GB, free: 165.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/13.55, allocations: 57.59 kB / 5.878 GB, free: 165.4 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.0009529/13.55, allocations: 0.6122 MB / 5.879 GB, free: 165.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004565/13.56, allocations: 1.016 MB / 5.88 GB, free: 165.2 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.006137/13.56, allocations: 3.214 MB / 5.883 GB, free: 164.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001233/13.56, allocations: 0.7985 MB / 5.884 GB, free: 164.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/13.56, allocations: 3.812 kB / 5.884 GB, free: 164.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/13.56, allocations: 468.6 kB / 5.884 GB, free: 164.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006291/13.57, allocations: 0.733 MB / 5.885 GB, free: 164.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00594/13.58, allocations: 2.409 MB / 5.888 GB, free: 163.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/13.58, allocations: 1.548 MB / 5.889 GB, free: 162.7 MB / 1.198 GB Notification: Performance of SimCode: time 8.91e-07/13.58, allocations: 0 / 5.889 GB, free: 162.7 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1)