Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.224/2.224, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 173.3 kB / 360.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001232, allocations: 89.27 kB / 0.7318 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.405e-05/1.426e-05, allocations: 4 kB / 0.8503 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5525, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.7544, allocations: 136.5 MB / 1.096 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.7547, allocations: 73.38 kB / 1.096 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002124/0.7568, allocations: 340.1 kB / 1.097 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.7569, allocations: 2.375 kB / 1.097 GB, free: 3.879 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.0004046/0.7573, allocations: 327.4 kB / 1.097 GB, free: 3.516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7573, allocations: 12.97 kB / 1.097 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.7574, allocations: 3.906 kB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.7576, allocations: 182.2 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.7576, allocations: 0.5938 kB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.7576, allocations: 4.688 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.558e-05/0.7577, allocations: 15.91 kB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.7578, allocations: 38.38 kB / 1.097 GB, free: 3.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7578, allocations: 4.719 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7579, allocations: 0.8906 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7579, allocations: 1.219 kB / 1.097 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.7584, allocations: 257.1 kB / 1.097 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.361e-05/0.7584, allocations: 24.08 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.7585, allocations: 8.922 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.7585, allocations: 0.6875 kB / 1.097 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.7585, allocations: 31.06 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.7585, allocations: 1 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.7587, allocations: 41.61 kB / 1.097 GB, free: 2.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.7588, allocations: 57.67 kB / 1.097 GB, free: 2.738 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.7588, allocations: 98.44 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.7589, allocations: 25.7 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.7589, allocations: 84.14 kB / 1.098 GB, free: 2.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.7589, allocations: 4.625 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.759, allocations: 4.594 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7591, allocations: 322.9 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.7591, allocations: 4 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.7591, allocations: 0 / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.7592, allocations: 4 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.7592, allocations: 0 / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.455e-05/0.7593, allocations: 37.7 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7593, allocations: 8.469 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7593, allocations: 1.031 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7593, allocations: 0 / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.7595, allocations: 19.98 kB / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.7595, allocations: 0 / 1.098 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.7596, allocations: 11.98 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.7596, allocations: 0 / 1.098 GB, free: 2.102 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 7.632e-05/0.7597, allocations: 113.8 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.7597, allocations: 0 / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.7598, allocations: 15 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7598, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7598, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7598, allocations: 0 / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.76, allocations: 138.2 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.76, allocations: 1.75 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.7602, allocations: 16 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7602, allocations: 0.75 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7602, allocations: 0 / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7602, allocations: 0 / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.7602, allocations: 8.438 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001156/0.7603, allocations: 127.6 kB / 1.098 GB, free: 1.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.7604, allocations: 81.67 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.7604, allocations: 8.031 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.7606, allocations: 7.984 kB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.7606, allocations: 4 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.7606, allocations: 0 / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.39e-05/0.7607, allocations: 81.09 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002821/0.761, allocations: 4 kB / 1.099 GB, free: 1.434 MB / 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 0.0001139/0.7611, allocations: 103 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/0.7612, allocations: 19.88 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7612, allocations: 0 / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.123e-05/0.7612, allocations: 8 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.7615, allocations: 0 / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.7617, allocations: 72.84 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.762, allocations: 0.6929 MB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/0.762, allocations: 4 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of Templates: time 0.002776/0.7648, allocations: 380.6 kB / 1.1 GB, free: 148 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1)