Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.109/2.109, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001563/0.001563, allocations: 181.2 kB / 360.3 MB, free: 7.516 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.605/1.605, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001223/0.001222, allocations: 86.8 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2469/0.2481, allocations: 121.4 MB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.7939, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.999, allocations: 136.7 MB / 1.096 GB, free: 4.043 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.9994, allocations: 70.25 kB / 1.096 GB, free: 3.977 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003672/1.003, allocations: 0.8595 MB / 1.097 GB, free: 3.109 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.003, allocations: 8.594 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/1.003, allocations: 5.25 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.003, allocations: 175 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.003, allocations: 4.656 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.003, allocations: 0 / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001117/1.004, allocations: 28.77 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/1.004, allocations: 45.69 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.004, allocations: 2.984 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.004, allocations: 0.7812 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.004, allocations: 0 / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/1.004, allocations: 253.4 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.833e-05/1.004, allocations: 35.05 kB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/1.004, allocations: 13.42 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/1.004, allocations: 0.5625 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.004, allocations: 35.33 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.004, allocations: 0.5312 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000187/1.005, allocations: 42.27 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/1.005, allocations: 52.34 kB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/1.005, allocations: 100.9 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.005, allocations: 26.39 kB / 1.098 GB, free: 2.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/1.005, allocations: 88.73 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/1.005, allocations: 3.906 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.005, allocations: 0.8125 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.005, allocations: 315.5 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/1.005, allocations: 11.92 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/1.005, allocations: 12.03 kB / 1.098 GB, free: 1.742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/1.005, allocations: 4 kB / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.005, allocations: 0 / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001241/1.005, allocations: 49.69 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.005, allocations: 7.906 kB / 1.098 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.005, allocations: 3.031 kB / 1.098 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.005, allocations: 4 kB / 1.098 GB, free: 1.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.005, allocations: 16.64 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.005, allocations: 0 / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/1.006, allocations: 8 kB / 1.098 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/1.006, allocations: 2.578 kB / 1.098 GB, free: 1.648 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: 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 8.927e-05/1.006, allocations: 108.8 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/1.006, allocations: 7.906 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/1.006, allocations: 7.312 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.006, allocations: 0 / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.006, allocations: 1.172 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.006, allocations: 0 / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.006, allocations: 154.2 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.006, allocations: 1.312 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/1.006, allocations: 11.98 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.006, allocations: 3.906 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.006, allocations: 8 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.006, allocations: 0.6562 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.006, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001578/1.006, allocations: 143.5 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002983/1.007, allocations: 0.5142 MB / 1.099 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/1.007, allocations: 81.02 kB / 1.099 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/1.007, allocations: 5.75 kB / 1.099 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/1.007, allocations: 7.984 kB / 1.099 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/1.007, allocations: 5.875 kB / 1.099 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/1.007, allocations: 0 / 1.099 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.378e-05/1.007, allocations: 91.3 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001106/1.008, allocations: 15.84 kB / 1.1 GB, free: 412 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: 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.0001711/1.009, allocations: 99.25 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001195/1.009, allocations: 16 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.009, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/1.009, allocations: 15.98 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/1.009, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/1.009, allocations: 76.66 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.01, allocations: 0.6958 MB / 1.1 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/1.01, allocations: 0 / 1.1 GB, free: 15.45 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)