Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.344/1.344, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001/0.001, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0007973/0.0007972, allocations: 82.7 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2167/0.2175, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.7065, allocations: 116.3 MB / 0.9727 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.8497, allocations: 137.7 MB / 1.107 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.8499, allocations: 73.45 kB / 1.107 GB, free: 10.76 MB / 0.7136 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.001771/0.8517, allocations: 0.655 MB / 1.108 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.8517, allocations: 8.656 kB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.8518, allocations: 11.91 kB / 1.108 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8519, allocations: 175 kB / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-06/0.8519, allocations: 0 / 1.108 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.8519, allocations: 3.906 kB / 1.108 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.121e-05/0.852, allocations: 12 kB / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.8521, allocations: 41.69 kB / 1.108 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8521, allocations: 5.594 kB / 1.108 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.8521, allocations: 0 / 1.108 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8521, allocations: 0 / 1.108 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.8525, allocations: 265.4 kB / 1.108 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.8525, allocations: 18.58 kB / 1.108 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.8525, allocations: 8.859 kB / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.8526, allocations: 64 / 1.108 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.8526, allocations: 42.55 kB / 1.108 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.8526, allocations: 0 / 1.108 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.8527, allocations: 41.53 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.8527, allocations: 51.41 kB / 1.108 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.8528, allocations: 97 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.8528, allocations: 29.73 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.8529, allocations: 84.12 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.8529, allocations: 3.906 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8529, allocations: 0 / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.853, allocations: 318.8 kB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.853, allocations: 0.75 kB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.853, allocations: 11.94 kB / 1.109 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.207e-05/0.853, allocations: 0 / 1.109 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.853, allocations: 4 kB / 1.109 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.806e-05/0.8531, allocations: 41.69 kB / 1.109 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-06/0.8531, allocations: 8 kB / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8531, allocations: 3.906 kB / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.8531, allocations: 0 / 1.109 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.563e-05/0.8532, allocations: 8.656 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.8532, allocations: 0 / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.8533, allocations: 20.02 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.8533, allocations: 0 / 1.109 GB, free: 8.637 MB / 0.7136 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 4.857e-05/0.8534, allocations: 101 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.8534, allocations: 3.906 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.8534, allocations: 7.156 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8534, allocations: 1.125 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8534, allocations: 3.984 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.8534, allocations: 0 / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.8536, allocations: 138.2 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.8536, allocations: 0 / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.8536, allocations: 11.98 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8536, allocations: 0 / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.8536, allocations: 0 / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.8537, allocations: 7.906 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8537, allocations: 0 / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.585e-05/0.8537, allocations: 137.6 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001539/0.8539, allocations: 0.4999 MB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.8539, allocations: 78.33 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.854, allocations: 8.156 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.781e-05/0.8541, allocations: 16.05 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.8541, allocations: 4 kB / 1.11 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.8541, allocations: 4 kB / 1.11 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.755e-05/0.8541, allocations: 79.27 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007902/0.8549, allocations: 8 kB / 1.11 GB, free: 7.441 MB / 0.7136 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 8.765e-05/0.855, allocations: 97.84 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.793e-05/0.8551, allocations: 12 kB / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8551, allocations: 0 / 1.11 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.8551, allocations: 11.88 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.8553, allocations: 9.125 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.8555, allocations: 67.7 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.8557, allocations: 0.688 MB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.8557, allocations: 4.125 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)