Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.388/2.388, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001638/0.001637, allocations: 185.2 kB / 315.1 MB, free: 4.293 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.981/1.981, allocations: 205.1 MB / 0.5658 GB, free: 392 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.00137/0.00137, allocations: 79.41 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4994/0.5008, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.7219, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6892/1.411, allocations: 131.5 MB / 1.012 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.411, allocations: 72.77 kB / 1.012 GB, free: 8.742 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.004551/1.416, allocations: 1.214 MB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.416, allocations: 8 kB / 1.013 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/1.416, allocations: 11.91 kB / 1.013 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.416, allocations: 174.9 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.416, allocations: 3.938 kB / 1.013 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/1.416, allocations: 4 kB / 1.013 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000141/1.417, allocations: 38.66 kB / 1.013 GB, free: 7.379 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/1.417, allocations: 83.23 kB / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.417, allocations: 0 / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.417, allocations: 0 / 1.013 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/1.417, allocations: 4 kB / 1.013 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/1.418, allocations: 425.4 kB / 1.014 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.986e-05/1.418, allocations: 37.16 kB / 1.014 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/1.418, allocations: 13.72 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.418, allocations: 4.062 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.418, allocations: 34.59 kB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.588e-06/1.418, allocations: 0 / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/1.418, allocations: 43.86 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.418, allocations: 81.11 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/1.418, allocations: 129.6 kB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.418, allocations: 25.7 kB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/1.418, allocations: 107.5 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/1.419, allocations: 7.281 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/1.419, allocations: 4 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.419, allocations: 314.3 kB / 1.015 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/1.419, allocations: 10.5 kB / 1.015 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/1.419, allocations: 21.08 kB / 1.015 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/1.419, allocations: 11.12 kB / 1.015 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.419, allocations: 4 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001571/1.419, allocations: 52.86 kB / 1.015 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/1.419, allocations: 4 kB / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.419, allocations: 0 / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.419, allocations: 0 / 1.015 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.419, allocations: 19.83 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.419, allocations: 0 / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/1.419, allocations: 8 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.419, allocations: 4.75 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.955e-05/1.419, allocations: 101 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/1.42, allocations: 7.906 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.643e-05/1.42, allocations: 11.36 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.42, allocations: 4 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.42, allocations: 224 / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.42, allocations: 7.891 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/1.42, allocations: 452.5 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.42, allocations: 3.938 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/1.42, allocations: 11.89 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.42, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.42, allocations: 0 / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.42, allocations: 4 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.42, allocations: 0 / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001312/1.42, allocations: 89.06 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002515/1.421, allocations: 474.2 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/1.421, allocations: 89 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.421, allocations: 0 / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/1.421, allocations: 3.375 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/1.421, allocations: 4.094 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/1.421, allocations: 0 / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.542e-05/1.421, allocations: 103.8 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001337/1.422, allocations: 11.91 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001815/1.423, allocations: 99.25 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001333/1.423, allocations: 22.81 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.423, allocations: 0 / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/1.423, allocations: 4 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/1.423, allocations: 6.031 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/1.423, allocations: 115.2 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.424, allocations: 0.7155 MB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/1.424, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB