Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.373/1.373, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 181.3 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000861/0.000861, allocations: 86.28 kB / 0.7325 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2065/0.2073, allocations: 121.4 MB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.7198, allocations: 115.3 MB / 0.9638 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/1.441, allocations: 422 MB / 1.376 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.441, allocations: 101.1 kB / 1.376 GB, free: 143 MB / 0.8542 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 1.014/2.455, allocations: 357.2 MB / 1.725 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/2.455, allocations: 8.531 kB / 1.725 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/2.455, allocations: 94.22 kB / 1.725 GB, free: 223.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02139/2.477, allocations: 8.517 MB / 1.733 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/2.477, allocations: 13.31 kB / 1.733 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/2.477, allocations: 27.62 kB / 1.733 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007662/2.478, allocations: 314.5 kB / 1.734 GB, free: 219 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/2.479, allocations: 406.2 kB / 1.734 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/2.479, allocations: 3.25 kB / 1.734 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/2.479, allocations: 7.875 kB / 1.734 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/2.479, allocations: 10.56 kB / 1.734 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/2.483, allocations: 2.57 MB / 1.736 GB, free: 216.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/2.483, allocations: 288.7 kB / 1.737 GB, free: 216.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/2.483, allocations: 143.5 kB / 1.737 GB, free: 216.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009554/2.484, allocations: 1.427 MB / 1.738 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/2.484, allocations: 41.33 kB / 1.738 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 3.817e-06/2.484, allocations: 6.969 kB / 1.738 GB, free: 214.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.001549/2.486, allocations: 454.9 kB / 1.739 GB, free: 214.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/2.486, allocations: 57.72 kB / 1.739 GB, free: 214.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/2.487, allocations: 479 kB / 1.739 GB, free: 214 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/2.487, allocations: 27.08 kB / 1.739 GB, free: 213.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/2.487, allocations: 243.9 kB / 1.74 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/2.487, allocations: 125.4 kB / 1.74 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/2.487, allocations: 0 / 1.74 GB, free: 213.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.487, allocations: 376.9 kB / 1.74 GB, free: 213.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/2.487, allocations: 111.3 kB / 1.74 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/2.487, allocations: 183 kB / 1.74 GB, free: 213.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/2.489, allocations: 280.1 kB / 1.741 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/2.489, allocations: 0 / 1.741 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001492/2.49, allocations: 0.5288 MB / 1.741 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.29e-05/2.49, allocations: 368.8 kB / 1.741 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/2.49, allocations: 2.688 kB / 1.741 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/2.49, allocations: 5 kB / 1.741 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/2.491, allocations: 106.1 kB / 1.742 GB, free: 212.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002658/2.491, allocations: 0.5936 MB / 1.742 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005293/2.492, allocations: 49.41 kB / 1.742 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/2.492, allocations: 23.36 kB / 1.742 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/2.492, allocations: 4.469 kB / 1.742 GB, free: 211.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/2.493, allocations: 452.9 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/2.493, allocations: 6.516 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/2.493, allocations: 6.812 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/2.493, allocations: 102 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/2.493, allocations: 3.312 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004785/2.494, allocations: 45.72 kB / 1.743 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/2.494, allocations: 19.47 kB / 1.743 GB, free: 211.4 MB / 0.9323 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 0.0001164/2.494, allocations: 111.4 kB / 1.743 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/2.494, allocations: 66.28 kB / 1.743 GB, free: 211.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/2.496, allocations: 0.9204 MB / 1.744 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/2.496, allocations: 13.58 kB / 1.744 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.496, allocations: 0 / 1.744 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/2.496, allocations: 0 / 1.744 GB, free: 210.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/2.498, allocations: 1.363 MB / 1.745 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/2.499, allocations: 6.594 kB / 1.745 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/2.499, allocations: 89.44 kB / 1.745 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/2.499, allocations: 2.906 kB / 1.745 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/2.499, allocations: 10.39 kB / 1.745 GB, free: 209.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001993/2.499, allocations: 0.5917 MB / 1.746 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/2.499, allocations: 0 / 1.746 GB, free: 209.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001567/2.501, allocations: 1.035 MB / 1.747 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001966/2.503, allocations: 1.73 MB / 1.749 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/2.503, allocations: 215.7 kB / 1.749 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/2.503, allocations: 0 / 1.749 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/2.504, allocations: 32.66 kB / 1.749 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/2.504, allocations: 34.39 kB / 1.749 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/2.504, allocations: 22.08 kB / 1.749 GB, free: 207.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003605/2.504, allocations: 366.4 kB / 1.749 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002682/2.507, allocations: 0.6124 MB / 1.75 GB, free: 206.6 MB / 0.9323 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.00114/2.508, allocations: 0.6326 MB / 1.75 GB, free: 206.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001177/2.509, allocations: 0.704 MB / 1.751 GB, free: 206 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/2.509, allocations: 0 / 1.751 GB, free: 206 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004179/2.51, allocations: 329.2 kB / 1.751 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/2.511, allocations: 236.1 kB / 1.752 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/2.513, allocations: 1.091 MB / 1.753 GB, free: 205.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/2.514, allocations: 1.051 MB / 1.754 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.31e-07/2.514, allocations: 2.969 kB / 1.754 GB, free: 204.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.pipe 2>&1)