Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.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.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",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.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001043/0.001043, allocations: 185.2 kB / 316 MB, free: 3.539 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.167/1.167, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008162/0.0008161, allocations: 101.2 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3377/0.3385, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.5003, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.9621, allocations: 131.8 MB / 1.013 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.9624, allocations: 72.33 kB / 1.013 GB, free: 6.672 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002434/0.9648, allocations: 0.8753 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.9649, allocations: 8 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.9649, allocations: 3.906 kB / 1.014 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.965, allocations: 178.8 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.9651, allocations: 4 kB / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.9651, allocations: 0 / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.668e-05/0.9652, allocations: 22.17 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.9653, allocations: 49.44 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.9653, allocations: 0 / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9653, allocations: 3.906 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.9653, allocations: 0 / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.9656, allocations: 259.6 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/0.9657, allocations: 25.95 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.9657, allocations: 18.48 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.9657, allocations: 3.984 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.9658, allocations: 30.56 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.9658, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.9659, allocations: 51.92 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.9659, allocations: 51.41 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.966, allocations: 100.5 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.966, allocations: 25.7 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.9661, allocations: 88.05 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.9661, allocations: 3.938 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.9661, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.498e-05/0.9662, allocations: 313.9 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.9662, allocations: 11.23 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.9662, allocations: 4 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.821e-05/0.9662, allocations: 7.25 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9663, allocations: 8.75 kB / 1.016 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.478e-05/0.9663, allocations: 44.94 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.9664, allocations: 6.656 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.9664, allocations: 0 / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9664, allocations: 0 / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.9665, allocations: 15.98 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.9665, allocations: 3.938 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.9666, allocations: 12.03 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.9666, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.215e-05/0.9667, allocations: 112.8 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.9667, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.9667, allocations: 10.14 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.9667, allocations: 0 / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.9667, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9667, allocations: 7.891 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.9669, allocations: 141.6 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9669, allocations: 0.75 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.9669, allocations: 15.36 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.967, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.967, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.967, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.967, allocations: 4.25 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.818e-05/0.9671, allocations: 139.3 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001856/0.9673, allocations: 0.5191 MB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.9673, allocations: 77.17 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.9673, allocations: 8 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.9674, allocations: 7.984 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.9675, allocations: 11.84 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.9675, allocations: 0 / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.895e-05/0.9675, allocations: 86.08 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007559/0.9683, allocations: 15.94 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0001281/0.9684, allocations: 102.8 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.9685, allocations: 19.38 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.9685, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.9686, allocations: 19.3 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.9688, allocations: 3.266 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.969, allocations: 62.42 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.9693, allocations: 0.7031 MB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.9693, allocations: 0 / 1.018 GB, free: 2.246 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)