Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.37/2.37, allocations: 248.6 MB / 255.9 MB, free: 7.207 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.001614/0.001614, allocations: 176.1 kB / 315.1 MB, free: 4.32 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.925/1.925, allocations: 205.2 MB / 0.5658 GB, free: 420 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.001245/0.001245, allocations: 95.3 kB / 0.67 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4713/0.4726, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.7317, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6671/1.399, allocations: 131.4 MB / 1.012 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.399, allocations: 71.7 kB / 1.012 GB, free: 8.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002885/1.402, allocations: 0.7156 MB / 1.013 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.402, allocations: 8 kB / 1.013 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/1.402, allocations: 0 / 1.013 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/1.402, allocations: 163.1 kB / 1.013 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/1.402, allocations: 3.906 kB / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/1.402, allocations: 0 / 1.013 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.384e-05/1.402, allocations: 10.19 kB / 1.013 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/1.403, allocations: 40.88 kB / 1.013 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.403, allocations: 3.938 kB / 1.013 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/1.403, allocations: 0 / 1.013 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.403, allocations: 4 kB / 1.013 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/1.403, allocations: 228.5 kB / 1.013 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.295e-05/1.403, allocations: 22.02 kB / 1.013 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/1.403, allocations: 12.48 kB / 1.013 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/1.403, allocations: 4 kB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.403, allocations: 42.53 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/1.403, allocations: 0 / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000177/1.403, allocations: 37.52 kB / 1.013 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/1.403, allocations: 51.41 kB / 1.013 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/1.403, allocations: 92.98 kB / 1.013 GB, free: 7.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.404, allocations: 28.33 kB / 1.013 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/1.404, allocations: 88.2 kB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/1.404, allocations: 7.984 kB / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/1.404, allocations: 0 / 1.013 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.404, allocations: 318.8 kB / 1.014 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/1.404, allocations: 7.875 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/1.404, allocations: 0 / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/1.404, allocations: 7.875 kB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.404, allocations: 0 / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/1.404, allocations: 37.64 kB / 1.014 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.404, allocations: 15.92 kB / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.404, allocations: 0 / 1.014 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.404, allocations: 4.094 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.404, allocations: 8 kB / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/1.404, allocations: 0 / 1.014 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/1.404, allocations: 18.77 kB / 1.014 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/1.404, allocations: 0 / 1.014 GB, free: 6.777 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 (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 prepare postOptimizeDAE: time 8.511e-05/1.405, allocations: 105 kB / 1.014 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/1.405, allocations: 4 kB / 1.014 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.405, allocations: 48.83 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.405, allocations: 3.906 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.405, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.405, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/1.405, allocations: 138.1 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.405, allocations: 7.875 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.405, allocations: 16.03 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.405, allocations: 0 / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/1.405, allocations: 0 / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.405, allocations: 3.984 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.405, allocations: 0 / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001453/1.405, allocations: 135.3 kB / 1.014 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003544/1.406, allocations: 0.5064 MB / 1.015 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/1.406, allocations: 85.05 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/1.406, allocations: 0 / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/1.406, allocations: 11.98 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/1.406, allocations: 11.75 kB / 1.015 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/1.406, allocations: 0 / 1.015 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.93e-05/1.406, allocations: 79.28 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001089/1.407, allocations: 7.984 kB / 1.015 GB, free: 5.547 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 (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.0001576/1.407, allocations: 95.25 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001171/1.407, allocations: 14.38 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.407, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/1.408, allocations: 11.94 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/1.408, allocations: 5.875 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/1.408, allocations: 67.2 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.409, allocations: 0.6919 MB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/1.409, allocations: 0 / 1.016 GB, free: 4.617 MB / 0.6355 GB