Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.174/2.174, allocations: 248.6 MB / 255.9 MB, free: 376 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.002077/0.002077, allocations: 184.2 kB / 315.1 MB, free: 7.777 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.131/2.131, allocations: 205.1 MB / 0.5658 GB, free: 25.52 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.001285/0.001285, allocations: 95.14 kB / 0.67 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2833/0.2846, allocations: 112.4 MB / 0.7797 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5947/0.8793, allocations: 106.2 MB / 0.8835 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/1.114, allocations: 130.4 MB / 1.011 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.115, allocations: 75.94 kB / 1.011 GB, free: 10.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004284/1.119, allocations: 0.9109 MB / 1.012 GB, free: 9.711 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/1.119, allocations: 8 kB / 1.012 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/1.119, allocations: 3.906 kB / 1.012 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.119, allocations: 167.1 kB / 1.012 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.119, allocations: 3.938 kB / 1.012 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/1.119, allocations: 4 kB / 1.012 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/1.12, allocations: 12 kB / 1.012 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/1.12, allocations: 49.59 kB / 1.012 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.12, allocations: 11.94 kB / 1.012 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.12, allocations: 3.938 kB / 1.012 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.12, allocations: 4 kB / 1.012 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/1.12, allocations: 281.3 kB / 1.012 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/1.121, allocations: 38.52 kB / 1.012 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/1.121, allocations: 12.86 kB / 1.012 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/1.121, allocations: 4 kB / 1.012 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/1.121, allocations: 30.56 kB / 1.012 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.245e-06/1.121, allocations: 0 / 1.012 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002126/1.121, allocations: 53.77 kB / 1.012 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/1.121, allocations: 51.41 kB / 1.012 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/1.121, allocations: 100.9 kB / 1.013 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/1.121, allocations: 25.7 kB / 1.013 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/1.121, allocations: 92.12 kB / 1.013 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/1.121, allocations: 3.906 kB / 1.013 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.121, allocations: 0 / 1.013 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.121, allocations: 318.8 kB / 1.013 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/1.121, allocations: 7.938 kB / 1.013 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/1.121, allocations: 8 kB / 1.013 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/1.121, allocations: 8 kB / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.121, allocations: 0 / 1.013 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001398/1.122, allocations: 53.59 kB / 1.013 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.122, allocations: 4 kB / 1.013 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.122, allocations: 4 kB / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.122, allocations: 0 / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.122, allocations: 27.97 kB / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/1.122, allocations: 0 / 1.013 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/1.122, allocations: 27.89 kB / 1.013 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/1.122, allocations: 0 / 1.013 GB, free: 8.164 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.485e-05/1.122, allocations: 101 kB / 1.013 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.122, allocations: 4 kB / 1.013 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/1.122, allocations: 11.91 kB / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.122, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.122, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.122, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/1.123, allocations: 154.1 kB / 1.013 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.123, allocations: 0 / 1.013 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/1.123, allocations: 27.92 kB / 1.013 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.123, allocations: 0 / 1.013 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/1.123, allocations: 4 kB / 1.013 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.123, allocations: 3.906 kB / 1.013 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.123, allocations: 0 / 1.013 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/1.123, allocations: 143.5 kB / 1.014 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003651/1.124, allocations: 0.5193 MB / 1.014 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/1.124, allocations: 85.02 kB / 1.014 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/1.124, allocations: 0 / 1.014 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/1.124, allocations: 19.97 kB / 1.014 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/1.124, allocations: 12 kB / 1.014 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.124, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.248e-05/1.124, allocations: 83.27 kB / 1.014 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001097/1.125, allocations: 19.83 kB / 1.014 GB, free: 6.887 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001592/1.125, allocations: 97.36 kB / 1.014 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.126, allocations: 20 kB / 1.014 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/1.126, allocations: 6.594 kB / 1.014 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/1.126, allocations: 16 kB / 1.014 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/1.126, allocations: 8 kB / 1.014 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/1.126, allocations: 84.02 kB / 1.014 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.127, allocations: 0.6954 MB / 1.015 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of SimCode: time 1.233e-06/1.127, allocations: 0 / 1.015 GB, free: 5.914 MB / 0.6667 GB