Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.229/1.229, allocations: 249.4 MB / 256.7 MB, free: 7.066 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.001009/0.00101, allocations: 177.3 kB / 316 MB, free: 3.535 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.147/1.147, allocations: 205.1 MB / 0.5667 GB, free: 15.7 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.0008798/0.0008798, allocations: 77.61 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.346/0.3469, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.5097, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9846/1.494, allocations: 415.4 MB / 1.29 GB, free: 322.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.495, allocations: 101 kB / 1.29 GB, free: 322.4 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.9338/2.428, allocations: 347.1 MB / 1.629 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/2.428, allocations: 9.906 kB / 1.629 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/2.429, allocations: 90.95 kB / 1.629 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/2.446, allocations: 8.36 MB / 1.638 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/2.446, allocations: 15.56 kB / 1.638 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/2.447, allocations: 25.91 kB / 1.638 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005951/2.447, allocations: 306 kB / 1.638 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/2.448, allocations: 407.3 kB / 1.638 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/2.448, allocations: 1.875 kB / 1.638 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/2.448, allocations: 0 / 1.638 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/2.448, allocations: 10 kB / 1.638 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/2.451, allocations: 2.578 MB / 1.641 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/2.451, allocations: 291.7 kB / 1.641 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/2.452, allocations: 139.6 kB / 1.641 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000833/2.452, allocations: 1.429 MB / 1.643 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/2.452, allocations: 44.92 kB / 1.643 GB, free: 186 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/2.452, allocations: 0 / 1.643 GB, free: 186 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001327/2.454, allocations: 453.5 kB / 1.643 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/2.454, allocations: 55.5 kB / 1.643 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/2.454, allocations: 473.8 kB / 1.644 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/2.454, allocations: 29.27 kB / 1.644 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/2.454, allocations: 243.3 kB / 1.644 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/2.455, allocations: 122.5 kB / 1.644 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/2.455, allocations: 0 / 1.644 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.669e-05/2.455, allocations: 371.5 kB / 1.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/2.455, allocations: 112.4 kB / 1.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/2.455, allocations: 190.4 kB / 1.645 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/2.456, allocations: 274.1 kB / 1.645 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/2.456, allocations: 0 / 1.645 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001329/2.457, allocations: 0.5362 MB / 1.645 GB, free: 185 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/2.457, allocations: 370.3 kB / 1.646 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/2.457, allocations: 7.375 kB / 1.646 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/2.457, allocations: 0 / 1.646 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/2.458, allocations: 103.1 kB / 1.646 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002474/2.458, allocations: 0.5875 MB / 1.646 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/2.459, allocations: 51.16 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/2.459, allocations: 24.94 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-06/2.459, allocations: 7 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/2.46, allocations: 449.5 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/2.46, allocations: 3.875 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.408e-06/2.46, allocations: 7.406 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003229/2.46, allocations: 92.47 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/2.46, allocations: 3.281 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/2.461, allocations: 52.52 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/2.461, allocations: 22.81 kB / 1.647 GB, free: 184.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/2.461, allocations: 106.3 kB / 1.647 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/2.461, allocations: 70.56 kB / 1.647 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/2.463, allocations: 0.9121 MB / 1.648 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/2.463, allocations: 14.69 kB / 1.648 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/2.463, allocations: 3.938 kB / 1.648 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/2.463, allocations: 3.609 kB / 1.648 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/2.465, allocations: 1.353 MB / 1.65 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/2.465, allocations: 0 / 1.65 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/2.465, allocations: 87.72 kB / 1.65 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/2.465, allocations: 6.156 kB / 1.65 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/2.465, allocations: 14.09 kB / 1.65 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001968/2.466, allocations: 0.5907 MB / 1.65 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.466, allocations: 6 kB / 1.65 GB, free: 183 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001491/2.467, allocations: 1.033 MB / 1.651 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001897/2.469, allocations: 1.729 MB / 1.653 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/2.469, allocations: 205.9 kB / 1.653 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/2.469, allocations: 11.06 kB / 1.653 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/2.47, allocations: 25.55 kB / 1.653 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/2.47, allocations: 35.23 kB / 1.653 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/2.47, allocations: 25.3 kB / 1.653 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003752/2.47, allocations: 367.4 kB / 1.654 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002532/2.473, allocations: 0.6081 MB / 1.654 GB, free: 181.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/2.474, allocations: 0.6483 MB / 1.655 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001131/2.475, allocations: 0.6973 MB / 1.655 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.475, allocations: 3.188 kB / 1.655 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/2.476, allocations: 325.8 kB / 1.656 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/2.477, allocations: 241.7 kB / 1.656 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/2.479, allocations: 1.096 MB / 1.657 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/2.479, allocations: 1.046 MB / 1.658 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/2.479, allocations: 0 / 1.658 GB, free: 180.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)