Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.151/2.151, allocations: 284.8 MB / 292.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 173.3 kB / 360.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 77.03 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2495/0.2508, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5682/0.819, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/1.025, allocations: 136.6 MB / 1.096 GB, free: 4.277 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/1.026, allocations: 72.84 kB / 1.096 GB, free: 4.211 MB / 0.698 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.002785/1.028, allocations: 0.6892 MB / 1.097 GB, free: 3.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.028, allocations: 12.5 kB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/1.028, allocations: 5.219 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/1.029, allocations: 159.6 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1.029, allocations: 4 kB / 1.097 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/1.029, allocations: 3.938 kB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.296e-05/1.029, allocations: 10.91 kB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/1.029, allocations: 38.39 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.029, allocations: 0 / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.029, allocations: 7.906 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.029, allocations: 0 / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/1.029, allocations: 223.9 kB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/1.029, allocations: 28.61 kB / 1.097 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/1.029, allocations: 16.95 kB / 1.097 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/1.029, allocations: 4.484 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.029, allocations: 36.78 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.029, allocations: 1.969 kB / 1.097 GB, free: 2.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001769/1.03, allocations: 37.7 kB / 1.097 GB, free: 2.832 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.03, allocations: 51.41 kB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/1.03, allocations: 90.78 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/1.03, allocations: 30.3 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/1.03, allocations: 88.97 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/1.03, allocations: 3.906 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-06/1.03, allocations: 0.5625 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.03, allocations: 311.3 kB / 1.098 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/1.03, allocations: 8.625 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/1.03, allocations: 4.625 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/1.03, allocations: 5.406 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.03, allocations: 4 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001022/1.03, allocations: 45.59 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.03, allocations: 5.75 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.03, allocations: 0.75 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/1.03, allocations: 0 / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.031, allocations: 18.45 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/1.031, allocations: 4.562 kB / 1.098 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/1.031, allocations: 5.406 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.031, allocations: 4.688 kB / 1.098 GB, free: 2.133 MB / 0.698 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.56e-05/1.031, allocations: 112.8 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/1.031, allocations: 0 / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/1.031, allocations: 56.69 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.031, allocations: 0 / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.031, allocations: 4 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.031, allocations: 4.594 kB / 1.098 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/1.031, allocations: 134.1 kB / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.031, allocations: 0 / 1.098 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.031, allocations: 16.02 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.031, allocations: 0 / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.031, allocations: 0 / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.031, allocations: 0 / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.031, allocations: 5.812 kB / 1.098 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001432/1.032, allocations: 135.5 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004193/1.032, allocations: 0.5116 MB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/1.032, allocations: 77.11 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/1.032, allocations: 0.6562 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.032, allocations: 11.98 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.032, allocations: 8.031 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/1.032, allocations: 4 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.06e-05/1.032, allocations: 82.66 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001084/1.033, allocations: 7.906 kB / 1.099 GB, free: 0.8789 MB / 0.698 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.0001491/1.034, allocations: 95.25 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.423e-05/1.034, allocations: 12 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.034, allocations: 0 / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/1.034, allocations: 15.94 kB / 1.099 GB, free: 0.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/1.034, allocations: 4.125 kB / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/1.034, allocations: 52.73 kB / 1.099 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/1.035, allocations: 0.6958 MB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of SimCode: time 3.136e-06/1.035, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)