Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009235/0.0009235, allocations: 189.2 kB / 361.1 MB, free: 7.086 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0007523/0.0007525, allocations: 96.09 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1741/0.1749, allocations: 121.4 MB / 0.8512 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.575, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.6999, allocations: 136.7 MB / 1.097 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.7001, allocations: 64.47 kB / 1.097 GB, free: 3.301 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001642/0.7017, allocations: 0.6696 MB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.7018, allocations: 10.94 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.7018, allocations: 7.906 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.702, allocations: 182 kB / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-06/0.702, allocations: 0 / 1.098 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.702, allocations: 3.906 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.074e-05/0.702, allocations: 12.7 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.202e-05/0.7021, allocations: 38.23 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.7021, allocations: 2.781 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.7021, allocations: 3.984 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.7021, allocations: 0.8438 kB / 1.098 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.7025, allocations: 261.3 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.7025, allocations: 20.88 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.144e-05/0.7026, allocations: 8.859 kB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.7026, allocations: 0 / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.7026, allocations: 37.03 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.7026, allocations: 0.625 kB / 1.099 GB, free: 1.953 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.7028, allocations: 38.83 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.7028, allocations: 51.41 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.7029, allocations: 96.98 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.7029, allocations: 30.39 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.7029, allocations: 84.86 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.7029, allocations: 3.906 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.7029, allocations: 0.6875 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.703, allocations: 315.5 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.7031, allocations: 4 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.7031, allocations: 10.08 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.35e-05/0.7031, allocations: 4.656 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7031, allocations: 4.531 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.34e-05/0.7032, allocations: 34.36 kB / 1.099 GB, free: 1.246 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.7032, allocations: 8 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7032, allocations: 5.188 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.7032, allocations: 0.7188 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.7033, allocations: 12.86 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.7033, allocations: 0.5 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.7034, allocations: 13.3 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.7034, allocations: 0.6562 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.894e-05/0.7035, allocations: 102 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.7035, allocations: 3.906 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.7035, allocations: 7.875 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7035, allocations: 5.328 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7035, allocations: 1.938 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.7035, allocations: 2.656 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.7037, allocations: 134.2 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7037, allocations: 4.516 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.7037, allocations: 9.219 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7037, allocations: 0.5625 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.7038, allocations: 4.125 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7038, allocations: 7.906 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7038, allocations: 0 / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.286e-05/0.7039, allocations: 131.5 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000189/0.7041, allocations: 0.5116 MB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.7041, allocations: 77.86 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.7041, allocations: 3.906 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.7042, allocations: 11.98 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.7042, allocations: 0.5625 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.7043, allocations: 4 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.417e-05/0.7043, allocations: 76.66 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007282/0.705, allocations: 8 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 9.104e-05/0.7051, allocations: 109.6 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.125e-05/0.7052, allocations: 4 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.7052, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.7052, allocations: 11.98 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.7054, allocations: 14.38 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.7056, allocations: 72.59 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.7058, allocations: 0.6919 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7058, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)