Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001696/0.001695, allocations: 177.3 kB / 315.1 MB, free: 4.246 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.905/1.905, 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.001337/0.001336, allocations: 83.39 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4734/0.4748, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.7045, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7028/1.407, allocations: 131.4 MB / 1.012 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/1.408, allocations: 69.02 kB / 1.012 GB, free: 8.645 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.004687/1.412, allocations: 1.212 MB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.412, allocations: 8 kB / 1.013 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/1.412, allocations: 8.969 kB / 1.013 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/1.413, allocations: 182.7 kB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/1.413, allocations: 4 kB / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/1.413, allocations: 4 kB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/1.413, allocations: 38.14 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.413, allocations: 85.66 kB / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.413, allocations: 0 / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.413, allocations: 0 / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.413, allocations: 4 kB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/1.414, allocations: 416.6 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.65e-05/1.414, allocations: 37.19 kB / 1.014 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/1.414, allocations: 17.41 kB / 1.014 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/1.414, allocations: 4 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.414, allocations: 34.56 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/1.414, allocations: 6.516 kB / 1.014 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002245/1.414, allocations: 53.39 kB / 1.014 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/1.414, allocations: 77.11 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/1.415, allocations: 126 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.415, allocations: 33.77 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/1.415, allocations: 106.7 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/1.415, allocations: 3.906 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-06/1.415, allocations: 0 / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.415, allocations: 322 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/1.415, allocations: 9.375 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/1.415, allocations: 17.59 kB / 1.015 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/1.415, allocations: 11.94 kB / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.415, allocations: 0 / 1.015 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/1.415, allocations: 60.03 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.415, allocations: 8.75 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.415, allocations: 0 / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.415, allocations: 0 / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.416, allocations: 7.906 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.416, allocations: 4 kB / 1.015 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/1.416, allocations: 3.938 kB / 1.015 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/1.416, allocations: 0 / 1.015 GB, free: 5.809 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 8.507e-05/1.416, allocations: 109 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/1.416, allocations: 7.844 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/1.416, allocations: 18.38 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.416, allocations: 0 / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.416, allocations: 3.938 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.416, allocations: 7.906 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/1.416, allocations: 449 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.416, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/1.416, allocations: 7.906 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.417, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/1.417, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.417, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/1.417, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000129/1.417, allocations: 94.48 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002512/1.417, allocations: 466.4 kB / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.092e-05/1.417, allocations: 92.31 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.417, allocations: 4.062 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.955e-05/1.417, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/1.417, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/1.417, allocations: 4 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001057/1.417, allocations: 105.6 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001112/1.418, allocations: 15.91 kB / 1.016 GB, free: 4.363 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.0001866/1.419, allocations: 91.25 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.419, allocations: 19.56 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.419, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/1.419, allocations: 7.875 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/1.419, allocations: 14.89 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/1.419, allocations: 110.1 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/1.42, allocations: 0.7155 MB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/1.42, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB