Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.309/2.309, allocations: 248.6 MB / 255.9 MB, free: 396 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002654/0.002654, allocations: 179.2 kB / 315.1 MB, free: 7.797 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.1 MB / 0.5658 GB, free: 25.51 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.001938/0.001938, allocations: 90.81 kB / 0.67 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3098/0.3118, allocations: 112.4 MB / 0.7797 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.862, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/1.099, allocations: 130.6 MB / 1.011 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.1, allocations: 67.95 kB / 1.011 GB, free: 10.47 MB / 0.6667 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.004296/1.104, allocations: 0.8794 MB / 1.012 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.104, allocations: 8 kB / 1.012 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/1.104, allocations: 4 kB / 1.012 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/1.104, allocations: 178.9 kB / 1.012 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/1.104, allocations: 0 / 1.012 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/1.104, allocations: 4 kB / 1.012 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/1.104, allocations: 19.94 kB / 1.012 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/1.105, allocations: 49.69 kB / 1.012 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.105, allocations: 3.984 kB / 1.012 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.105, allocations: 0 / 1.012 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.105, allocations: 3.906 kB / 1.012 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/1.105, allocations: 253.4 kB / 1.012 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/1.105, allocations: 34.52 kB / 1.012 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/1.105, allocations: 12.92 kB / 1.012 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/1.105, allocations: 0 / 1.012 GB, free: 8.895 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.105, allocations: 30.56 kB / 1.013 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.105, allocations: 0 / 1.013 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/1.106, allocations: 49.59 kB / 1.013 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/1.106, allocations: 51.41 kB / 1.013 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/1.106, allocations: 93.03 kB / 1.013 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.106, allocations: 29.7 kB / 1.013 GB, free: 8.605 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/1.106, allocations: 92.12 kB / 1.013 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/1.106, allocations: 7.844 kB / 1.013 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-06/1.106, allocations: 0 / 1.013 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.106, allocations: 310.8 kB / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/1.106, allocations: 8 kB / 1.013 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/1.106, allocations: 7.938 kB / 1.013 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/1.106, allocations: 11.98 kB / 1.013 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.106, allocations: 4.062 kB / 1.013 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001233/1.106, allocations: 45.61 kB / 1.013 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.106, allocations: 8 kB / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.106, allocations: 0 / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.106, allocations: 0 / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/1.106, allocations: 16.17 kB / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.107, allocations: 0 / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/1.107, allocations: 20.02 kB / 1.013 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.107, allocations: 0 / 1.013 GB, free: 8.066 MB / 0.6667 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 9.366e-05/1.107, allocations: 104.9 kB / 1.013 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/1.107, allocations: 4 kB / 1.013 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/1.107, allocations: 7.266 kB / 1.013 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.107, allocations: 0 / 1.013 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.107, allocations: 3.984 kB / 1.013 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/1.107, allocations: 4 kB / 1.013 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.107, allocations: 146.1 kB / 1.013 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.107, allocations: 0 / 1.013 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/1.107, allocations: 15.92 kB / 1.013 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.107, allocations: 4 kB / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/1.107, allocations: 0 / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.107, allocations: 0 / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.107, allocations: 0 / 1.013 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001721/1.107, allocations: 143.5 kB / 1.014 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002856/1.108, allocations: 0.5102 MB / 1.014 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/1.108, allocations: 81.11 kB / 1.014 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/1.108, allocations: 8.047 kB / 1.014 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/1.108, allocations: 15.88 kB / 1.014 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.108, allocations: 7.984 kB / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/1.108, allocations: 0 / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001491/1.108, allocations: 83.19 kB / 1.014 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00112/1.109, allocations: 19.94 kB / 1.014 GB, free: 6.828 MB / 0.6667 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.0001858/1.11, allocations: 105.3 kB / 1.014 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001249/1.11, allocations: 16 kB / 1.014 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.11, allocations: 0 / 1.014 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.863e-05/1.11, allocations: 12 kB / 1.014 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/1.11, allocations: 2.812 kB / 1.014 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/1.111, allocations: 75.83 kB / 1.015 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/1.111, allocations: 0.6998 MB / 1.015 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/1.111, allocations: 0 / 1.015 GB, free: 5.863 MB / 0.6667 GB