Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.187/2.187, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.002505/0.002505, allocations: 179.9 kB / 315.1 MB, free: 4.301 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.986/1.986, allocations: 205.1 MB / 0.5658 GB, free: 328 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 91.33 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5092/0.5108, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.7463, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6701/1.416, allocations: 131.7 MB / 1.012 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.417, allocations: 75.31 kB / 1.012 GB, free: 8.539 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01164/1.428, allocations: 2.319 MB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.428, allocations: 12 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/1.429, allocations: 19.81 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/1.429, allocations: 221.7 kB / 1.015 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1.429, allocations: 4.75 kB / 1.015 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/1.429, allocations: 4 kB / 1.015 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004194/1.429, allocations: 116.1 kB / 1.015 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/1.43, allocations: 113.3 kB / 1.015 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.43, allocations: 3.984 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/1.43, allocations: 3.188 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/1.43, allocations: 7.906 kB / 1.015 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/1.432, allocations: 0.5211 MB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/1.432, allocations: 93.78 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/1.432, allocations: 57.09 kB / 1.016 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/1.432, allocations: 12.12 kB / 1.016 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.432, allocations: 30.56 kB / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/1.432, allocations: 0 / 1.016 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004838/1.433, allocations: 142.4 kB / 1.016 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/1.433, allocations: 51.41 kB / 1.016 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/1.433, allocations: 161.9 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.433, allocations: 25.7 kB / 1.016 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/1.433, allocations: 102.7 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/1.433, allocations: 35.48 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/1.433, allocations: 0 / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.433, allocations: 325.4 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/1.434, allocations: 46.11 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/1.434, allocations: 45.78 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/1.434, allocations: 50.22 kB / 1.017 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.434, allocations: 0 / 1.017 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004295/1.434, allocations: 141 kB / 1.017 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.434, allocations: 4 kB / 1.017 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.434, allocations: 4.375 kB / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.434, allocations: 0 / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/1.435, allocations: 67.62 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.435, allocations: 0 / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/1.436, allocations: 67.73 kB / 1.017 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/1.436, allocations: 0 / 1.017 GB, free: 4.094 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001131/1.436, allocations: 105 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/1.436, allocations: 11.81 kB / 1.017 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/1.436, allocations: 28.39 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.436, allocations: 0 / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.436, allocations: 4 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.436, allocations: 0 / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/1.436, allocations: 219.7 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/1.436, allocations: 0 / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/1.437, allocations: 67.83 kB / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.954e-06/1.437, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.437, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.437, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.437, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005241/1.438, allocations: 243.6 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006056/1.438, allocations: 0.61 MB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/1.438, allocations: 88.92 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/1.438, allocations: 7.984 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/1.439, allocations: 51.95 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/1.439, allocations: 11.42 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/1.439, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001526/1.439, allocations: 127.7 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001207/1.44, allocations: 31.84 kB / 1.018 GB, free: 2.512 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001777/1.441, allocations: 95.25 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004156/1.441, allocations: 115.3 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.441, allocations: 0 / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/1.441, allocations: 69.3 kB / 1.019 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.442, allocations: 17.92 kB / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008388/1.442, allocations: 223.7 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/1.443, allocations: 0.7534 MB / 1.02 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/1.443, allocations: 0 / 1.02 GB, free: 1.27 MB / 0.6355 GB