Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_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/BuildingSystems 2.0.0-master/package.mo): time 0.7074/0.7074, allocations: 141.8 MB / 149.1 MB, free: 11.95 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 179.4 kB / 181.9 MB, free: 8.676 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.3 MB / 436 MB, free: 0.8711 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.000991, allocations: 100.1 kB / 0.507 GB, free: 17.75 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 271.4 kB / 0.5885 GB, free: 2.602 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3452/0.347, allocations: 89.63 MB / 0.676 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.484, allocations: 82.78 MB / 0.7568 GB, free: 81.17 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/5.097, allocations: 2.501 GB / 3.258 GB, free: 179.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/5.097, allocations: 83.78 kB / 3.258 GB, free: 179.4 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 4.316/9.413, allocations: 1.423 GB / 4.682 GB, free: 108.2 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/9.413, allocations: 7.906 kB / 4.682 GB, free: 108.2 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/9.416, allocations: 357.5 kB / 4.682 GB, free: 108.1 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/9.418, allocations: 0.9398 MB / 4.683 GB, free: 107.8 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/9.418, allocations: 34.09 kB / 4.683 GB, free: 107.7 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/9.418, allocations: 65.31 kB / 4.683 GB, free: 107.7 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/9.42, allocations: 0.929 MB / 4.684 GB, free: 107.7 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/9.422, allocations: 1.319 MB / 4.685 GB, free: 107.5 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/9.422, allocations: 7.75 kB / 4.685 GB, free: 107.5 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/9.422, allocations: 0 / 4.685 GB, free: 107.5 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-05/9.422, allocations: 56.34 kB / 4.685 GB, free: 107.5 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/9.427, allocations: 5.05 MB / 4.69 GB, free: 104.5 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/9.428, allocations: 304.7 kB / 4.69 GB, free: 104.5 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/9.428, allocations: 252.7 kB / 4.691 GB, free: 104.4 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/9.429, allocations: 1.077 MB / 4.692 GB, free: 103.3 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/9.429, allocations: 43.44 kB / 4.692 GB, free: 103.3 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/9.429, allocations: 0 / 4.692 GB, free: 103.3 MB / 0.7294 GB Notification: Performance of matching and sorting (n=28): time 0.001919/9.431, allocations: 0.5723 MB / 4.692 GB, free: 103.2 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/9.431, allocations: 88.23 kB / 4.692 GB, free: 103.1 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000684/9.431, allocations: 0.5454 MB / 4.693 GB, free: 103 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 5.793e-05/9.431, allocations: 32.12 kB / 4.693 GB, free: 103 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/9.432, allocations: 470.3 kB / 4.693 GB, free: 102.7 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/9.432, allocations: 87 kB / 4.694 GB, free: 102.6 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/9.432, allocations: 0 / 4.694 GB, free: 102.6 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/9.432, allocations: 320.4 kB / 4.694 GB, free: 102.3 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/9.432, allocations: 150.9 kB / 4.694 GB, free: 102.3 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/9.432, allocations: 294.5 kB / 4.694 GB, free: 102.2 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/9.433, allocations: 224.7 kB / 4.694 GB, free: 102.2 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/9.433, allocations: 0 / 4.694 GB, free: 102.2 MB / 0.7294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007585/9.433, allocations: 0.4927 MB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/9.433, allocations: 5.375 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/9.433, allocations: 3.312 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/9.433, allocations: 5.625 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/9.434, allocations: 54.17 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/9.434, allocations: 10.98 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/9.434, allocations: 25.42 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/9.434, allocations: 25.72 kB / 4.695 GB, free: 102.1 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.833e-05/9.434, allocations: 112 kB / 4.695 GB, free: 102 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/9.434, allocations: 79.91 kB / 4.695 GB, free: 101.9 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/9.435, allocations: 320.1 kB / 4.696 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/9.435, allocations: 3.25 kB / 4.696 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/9.435, allocations: 2 kB / 4.696 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/9.435, allocations: 3.094 kB / 4.696 GB, free: 101.8 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/9.438, allocations: 2.364 MB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/9.438, allocations: 7.375 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/9.438, allocations: 48.06 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/9.438, allocations: 13.09 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/9.438, allocations: 5.875 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/9.438, allocations: 15.94 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/9.438, allocations: 10.64 kB / 4.698 GB, free: 101 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006157/9.439, allocations: 0.8408 MB / 4.699 GB, free: 100.2 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008431/9.44, allocations: 1.293 MB / 4.7 GB, free: 99.15 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/9.44, allocations: 203.6 kB / 4.7 GB, free: 99.01 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/9.44, allocations: 10.47 kB / 4.7 GB, free: 99.01 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/9.44, allocations: 23.77 kB / 4.7 GB, free: 99 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/9.441, allocations: 27.75 kB / 4.7 GB, free: 98.99 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/9.441, allocations: 20.19 kB / 4.7 GB, free: 98.99 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.0004651/9.441, allocations: 469.2 kB / 4.701 GB, free: 98.9 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.002519/9.444, allocations: 0.715 MB / 4.701 GB, free: 98.79 MB / 0.7294 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.004229/9.448, allocations: 2.436 MB / 4.704 GB, free: 98.25 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.0004875/9.448, allocations: 332.8 kB / 4.704 GB, free: 98.23 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/9.448, allocations: 0 / 4.704 GB, free: 98.23 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/9.448, allocations: 152 kB / 4.704 GB, free: 98.22 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/9.45, allocations: 433.1 kB / 4.705 GB, free: 98.2 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/9.453, allocations: 1.453 MB / 4.706 GB, free: 97.61 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/9.454, allocations: 1.289 MB / 4.707 GB, free: 96.9 MB / 0.7294 GB Notification: Performance of SimCode: time 4.4e-07/9.454, allocations: 0 / 4.707 GB, free: 96.9 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)