Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.413/2.413, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001675/0.001675, allocations: 170.8 kB / 315.1 MB, free: 4.27 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.038/2.038, allocations: 205.1 MB / 0.5658 GB, free: 288 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.002488/0.002489, allocations: 94.28 kB / 0.67 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.512/0.5145, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.7337, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7104/1.444, allocations: 130.9 MB / 1.011 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.445, allocations: 69.77 kB / 1.011 GB, free: 9.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000784/1.445, allocations: 363.3 kB / 1.012 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.445, allocations: 8 kB / 1.012 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/1.445, allocations: 3.906 kB / 1.012 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.446, allocations: 166.6 kB / 1.012 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.446, allocations: 0 / 1.012 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/1.446, allocations: 4 kB / 1.012 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.099e-05/1.446, allocations: 0 / 1.012 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/1.446, allocations: 25.7 kB / 1.012 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/1.446, allocations: 0 / 1.012 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.446, allocations: 0 / 1.012 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/1.446, allocations: 7.844 kB / 1.012 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/1.446, allocations: 367.5 kB / 1.012 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/1.446, allocations: 165.1 kB / 1.012 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/1.446, allocations: 80.14 kB / 1.013 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/1.446, allocations: 79.31 kB / 1.013 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/1.447, allocations: 113.8 kB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/1.447, allocations: 0 / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.274e-05/1.447, allocations: 37.53 kB / 1.013 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.447, allocations: 51.41 kB / 1.013 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/1.447, allocations: 88.62 kB / 1.013 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/1.447, allocations: 32.33 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/1.447, allocations: 80.14 kB / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/1.447, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-07/1.447, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.447, allocations: 317.5 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/1.447, allocations: 0 / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/1.447, allocations: 0 / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/1.447, allocations: 75.28 kB / 1.013 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-05/1.447, allocations: 75.28 kB / 1.013 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.42e-05/1.447, allocations: 34.53 kB / 1.013 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.447, allocations: 7.938 kB / 1.013 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/1.447, allocations: 75.28 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.369e-05/1.447, allocations: 158.6 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.754e-05/1.448, allocations: 78.66 kB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.79e-05/1.448, allocations: 158.4 kB / 1.014 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.195e-05/1.448, allocations: 75.28 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/1.448, allocations: 75.28 kB / 1.014 GB, free: 6.332 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 (0): * Single equations (assignments): 0 * 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.0001556/1.448, allocations: 263.5 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/1.448, allocations: 108.9 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/1.448, allocations: 104 kB / 1.015 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.979e-05/1.448, allocations: 180.2 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.314e-05/1.448, allocations: 183.8 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/1.448, allocations: 180.5 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/1.449, allocations: 389.7 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.522e-05/1.449, allocations: 110.2 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/1.449, allocations: 101 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.023e-05/1.449, allocations: 180.2 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/1.449, allocations: 180.2 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.304e-05/1.449, allocations: 183.9 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.658e-05/1.449, allocations: 184.2 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001834/1.449, allocations: 303.7 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003451/1.45, allocations: 0.668 MB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/1.45, allocations: 185.6 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/1.45, allocations: 188.1 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/1.45, allocations: 101 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/1.45, allocations: 180.3 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/1.45, allocations: 104.9 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.541e-05/1.45, allocations: 79.28 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001222/1.452, allocations: 0 / 1.018 GB, free: 2.031 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 (0): * Single equations (assignments): 0 * 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.0001995/1.452, allocations: 174.5 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.124e-05/1.452, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.452, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/1.452, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/1.452, allocations: 0.5221 MB / 1.019 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/1.453, allocations: 131.2 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.453, allocations: 0.6802 MB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/1.453, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB