Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 185 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 98.08 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3288/0.3296, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.4892, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.547/6.036, allocations: 3.207 GB / 4.092 GB, free: 240 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/6.036, allocations: 87.23 kB / 4.092 GB, free: 240 MB / 0.8698 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.003/11.04, allocations: 1.742 GB / 5.834 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/11.04, allocations: 7.656 kB / 5.834 GB, free: 110.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/11.04, allocations: 464.4 kB / 5.834 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/11.04, allocations: 1.32 MB / 5.836 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/11.04, allocations: 40.88 kB / 5.836 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/11.04, allocations: 75.41 kB / 5.836 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001555/11.05, allocations: 1.08 MB / 5.837 GB, free: 110.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/11.05, allocations: 1.475 MB / 5.838 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/11.05, allocations: 9.969 kB / 5.838 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/11.05, allocations: 3.906 kB / 5.838 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/11.05, allocations: 58.52 kB / 5.838 GB, free: 109.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/11.05, allocations: 6.536 MB / 5.845 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/11.05, allocations: 0.6246 MB / 5.845 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/11.05, allocations: 0.5827 MB / 5.846 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/11.06, allocations: 2.438 MB / 5.848 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/11.06, allocations: 47.64 kB / 5.848 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/11.06, allocations: 0 / 5.848 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72): time 0.002787/11.06, allocations: 1.079 MB / 5.849 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/11.06, allocations: 222.7 kB / 5.849 GB, free: 102.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/11.06, allocations: 0.7823 MB / 5.85 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/11.06, allocations: 34.7 kB / 5.85 GB, free: 102.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/11.06, allocations: 0.4957 MB / 5.851 GB, free: 102.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/11.06, allocations: 239 kB / 5.851 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/11.06, allocations: 0.75 kB / 5.851 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/11.06, allocations: 327 kB / 5.851 GB, free: 102 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/11.06, allocations: 303.9 kB / 5.852 GB, free: 102 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/11.06, allocations: 0.5758 MB / 5.852 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/11.06, allocations: 408.9 kB / 5.853 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/11.06, allocations: 0 / 5.853 GB, free: 101.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001164/11.06, allocations: 0.8961 MB / 5.853 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/11.06, allocations: 9.875 kB / 5.853 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/11.06, allocations: 3.188 kB / 5.853 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/11.06, allocations: 9.625 kB / 5.853 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/11.06, allocations: 127.3 kB / 5.854 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/11.06, allocations: 11.97 kB / 5.854 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/11.06, allocations: 45.06 kB / 5.854 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/11.06, allocations: 62.64 kB / 5.854 GB, free: 101.6 MB / 0.9167 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.0001223/11.06, allocations: 129.4 kB / 5.854 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/11.06, allocations: 131.4 kB / 5.854 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/11.07, allocations: 1.04 MB / 5.855 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/11.07, allocations: 11.08 kB / 5.855 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/11.07, allocations: 3 kB / 5.855 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/11.07, allocations: 3.75 kB / 5.855 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/11.07, allocations: 8.375 MB / 5.863 GB, free: 99.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/11.07, allocations: 15.31 kB / 5.863 GB, free: 99.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/11.07, allocations: 139.1 kB / 5.863 GB, free: 99.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/11.07, allocations: 23.5 kB / 5.863 GB, free: 99.02 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/11.07, allocations: 32.84 kB / 5.863 GB, free: 99.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.687e-05/11.07, allocations: 37.14 kB / 5.863 GB, free: 99 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/11.07, allocations: 18.75 kB / 5.863 GB, free: 99 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001887/11.08, allocations: 2.505 MB / 5.866 GB, free: 97.05 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001978/11.08, allocations: 3.018 MB / 5.869 GB, free: 94.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/11.08, allocations: 317.6 kB / 5.869 GB, free: 94.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/11.08, allocations: 24.14 kB / 5.869 GB, free: 94.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/11.08, allocations: 33.97 kB / 5.869 GB, free: 94.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.153e-05/11.08, allocations: 93.36 kB / 5.869 GB, free: 94.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/11.08, allocations: 55.89 kB / 5.869 GB, free: 94.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0006647/11.08, allocations: 0.6102 MB / 5.87 GB, free: 94.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003429/11.08, allocations: 1.128 MB / 5.871 GB, free: 94.27 MB / 0.9167 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.00503/11.09, allocations: 3.434 MB / 5.874 GB, free: 93.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009787/11.09, allocations: 0.7961 MB / 5.875 GB, free: 93.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/11.09, allocations: 2.469 kB / 5.875 GB, free: 93.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/11.09, allocations: 467.1 kB / 5.876 GB, free: 93.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/11.09, allocations: 0.7288 MB / 5.876 GB, free: 93.32 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/11.1, allocations: 2.421 MB / 5.879 GB, free: 92.22 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/11.1, allocations: 1.539 MB / 5.88 GB, free: 91.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.713e-06/11.1, allocations: 1.031 kB / 5.88 GB, free: 91.5 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1)