Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.Boundary,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7111/0.7111, allocations: 141.8 MB / 149.1 MB, free: 3.031 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 178.6 kB / 182 MB, free: 14.87 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.379/1.379, allocations: 221.3 MB / 436 MB, free: 7.918 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.0009333/0.0009335, allocations: 95.45 kB / 0.507 GB, free: 24.44 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 271.7 kB / 0.5885 GB, free: 11.08 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/0.1802, allocations: 89.66 MB / 0.676 GB, free: 1.34 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.5264, allocations: 82.75 MB / 0.7568 GB, free: 111.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.203/5.729, allocations: 2.828 GB / 3.585 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/5.73, allocations: 92.42 kB / 3.585 GB, free: 234.6 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 5.508/11.24, allocations: 1.762 GB / 5.347 GB, free: 70.86 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/11.24, allocations: 8.25 kB / 5.347 GB, free: 70.86 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/11.24, allocations: 464.3 kB / 5.348 GB, free: 70.75 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/11.24, allocations: 1.316 MB / 5.349 GB, free: 70.37 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/11.24, allocations: 38.69 kB / 5.349 GB, free: 70.37 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/11.24, allocations: 79.94 kB / 5.349 GB, free: 70.37 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/11.24, allocations: 1.082 MB / 5.35 GB, free: 70.36 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/11.25, allocations: 1.477 MB / 5.352 GB, free: 70.04 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/11.25, allocations: 7.75 kB / 5.352 GB, free: 70.04 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/11.25, allocations: 3.75 kB / 5.352 GB, free: 70.04 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/11.25, allocations: 52.55 kB / 5.352 GB, free: 70.04 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/11.25, allocations: 6.534 MB / 5.358 GB, free: 66.27 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/11.25, allocations: 0.6158 MB / 5.359 GB, free: 66.11 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/11.25, allocations: 0.582 MB / 5.359 GB, free: 66.05 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/11.26, allocations: 2.614 MB / 5.362 GB, free: 63.23 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/11.26, allocations: 53.33 kB / 5.362 GB, free: 63.18 MB / 0.745 GB Notification: Performance of pre-optimization done (n=72): time 4.449e-06/11.26, allocations: 6.578 kB / 5.362 GB, free: 63.18 MB / 0.745 GB Notification: Performance of matching and sorting (n=72): time 0.003269/11.26, allocations: 1.111 MB / 5.363 GB, free: 63.07 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/11.26, allocations: 219.7 kB / 5.363 GB, free: 62.82 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/11.26, allocations: 0.7819 MB / 5.364 GB, free: 62.68 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/11.26, allocations: 29.67 kB / 5.364 GB, free: 62.65 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/11.26, allocations: 0.4975 MB / 5.365 GB, free: 62.38 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/11.26, allocations: 237.4 kB / 5.365 GB, free: 62.23 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/11.26, allocations: 1.219 kB / 5.365 GB, free: 62.23 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/11.26, allocations: 329.9 kB / 5.365 GB, free: 61.92 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/11.26, allocations: 300.7 kB / 5.365 GB, free: 61.92 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/11.26, allocations: 0.5695 MB / 5.366 GB, free: 61.68 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/11.26, allocations: 463.1 kB / 5.366 GB, free: 61.67 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/11.26, allocations: 1.781 kB / 5.366 GB, free: 61.67 MB / 0.745 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001534/11.26, allocations: 0.9373 MB / 5.367 GB, free: 61.55 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/11.26, allocations: 7.219 kB / 5.367 GB, free: 61.55 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/11.26, allocations: 7.406 kB / 5.367 GB, free: 61.55 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/11.26, allocations: 7.594 kB / 5.367 GB, free: 61.55 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/11.26, allocations: 125.5 kB / 5.367 GB, free: 61.54 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/11.26, allocations: 15.02 kB / 5.367 GB, free: 61.54 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/11.27, allocations: 43.09 kB / 5.368 GB, free: 61.52 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/11.27, allocations: 67.84 kB / 5.368 GB, free: 61.52 MB / 0.745 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.0001357/11.27, allocations: 124.5 kB / 5.368 GB, free: 61.4 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/11.27, allocations: 135.3 kB / 5.368 GB, free: 61.33 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/11.27, allocations: 1.077 MB / 5.369 GB, free: 61.25 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/11.27, allocations: 20.16 kB / 5.369 GB, free: 61.25 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/11.27, allocations: 3.938 kB / 5.369 GB, free: 61.25 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/11.27, allocations: 11.23 kB / 5.369 GB, free: 61.25 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009267/11.28, allocations: 8.577 MB / 5.377 GB, free: 58.71 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/11.28, allocations: 14.41 kB / 5.377 GB, free: 58.71 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/11.28, allocations: 141.4 kB / 5.377 GB, free: 58.7 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-05/11.28, allocations: 22.16 kB / 5.377 GB, free: 58.7 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/11.28, allocations: 30.44 kB / 5.378 GB, free: 58.7 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-05/11.28, allocations: 30.45 kB / 5.378 GB, free: 58.69 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-05/11.28, allocations: 25.78 kB / 5.378 GB, free: 58.68 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002204/11.28, allocations: 2.556 MB / 5.38 GB, free: 56.73 MB / 0.745 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002471/11.28, allocations: 3.051 MB / 5.383 GB, free: 54.43 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/11.28, allocations: 316.3 kB / 5.383 GB, free: 54.26 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/11.28, allocations: 26.44 kB / 5.383 GB, free: 54.26 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/11.28, allocations: 22.62 kB / 5.383 GB, free: 54.25 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/11.28, allocations: 93.8 kB / 5.383 GB, free: 54.24 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/11.28, allocations: 54.19 kB / 5.384 GB, free: 54.24 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.0007451/11.28, allocations: 0.6124 MB / 5.384 GB, free: 54.13 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.003539/11.29, allocations: 1.026 MB / 5.385 GB, free: 53.99 MB / 0.745 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.004866/11.29, allocations: 3.21 MB / 5.388 GB, free: 53.21 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.001159/11.29, allocations: 0.8017 MB / 5.389 GB, free: 53.18 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/11.29, allocations: 0 / 5.389 GB, free: 53.18 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0004635/11.29, allocations: 469.7 kB / 5.389 GB, free: 53.14 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/11.3, allocations: 0.7284 MB / 5.39 GB, free: 53.12 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/11.3, allocations: 2.418 MB / 5.393 GB, free: 52.03 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/11.3, allocations: 1.541 MB / 5.394 GB, free: 51.31 MB / 0.745 GB Notification: Performance of SimCode: time 7.22e-07/11.3, allocations: 0 / 5.394 GB, free: 51.31 MB / 0.745 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_Boundary.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)