Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.374/1.374, allocations: 289.8 MB / 297 MB, free: 12.64 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009426/0.0009427, allocations: 184.2 kB / 366.3 MB, free: 11.97 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.087/1.087, allocations: 205.1 MB / 0.6256 GB, free: 2.055 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 90.8 kB / 0.7395 GB, free: 46.93 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2061/0.207, allocations: 122.4 MB / 0.8591 GB, free: 7.098 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.6795, allocations: 116.3 MB / 0.9727 GB, free: 81.49 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.82, allocations: 137.7 MB / 1.107 GB, free: 6.25 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.8203, allocations: 67.97 kB / 1.107 GB, free: 6.184 MB / 0.7058 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.001878/0.8222, allocations: 0.6865 MB / 1.108 GB, free: 5.477 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.8222, allocations: 8 kB / 1.108 GB, free: 5.469 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.8223, allocations: 8.812 kB / 1.108 GB, free: 5.461 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8224, allocations: 160 kB / 1.108 GB, free: 5.266 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.8224, allocations: 4.484 kB / 1.108 GB, free: 5.262 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.8224, allocations: 4 kB / 1.108 GB, free: 5.258 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.277e-05/0.8225, allocations: 8.844 kB / 1.108 GB, free: 5.25 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.309e-05/0.8225, allocations: 38.19 kB / 1.108 GB, free: 5.207 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.8226, allocations: 0 / 1.108 GB, free: 5.207 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.8226, allocations: 4.625 kB / 1.108 GB, free: 5.203 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.8226, allocations: 0 / 1.108 GB, free: 5.203 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.8229, allocations: 231 kB / 1.108 GB, free: 4.941 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 5.044e-05/0.8229, allocations: 27.17 kB / 1.108 GB, free: 4.906 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.823, allocations: 14.77 kB / 1.108 GB, free: 4.891 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.823, allocations: 0.5938 kB / 1.108 GB, free: 4.891 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.823, allocations: 38.97 kB / 1.108 GB, free: 4.844 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.823, allocations: 1.031 kB / 1.108 GB, free: 4.844 MB / 0.7058 GB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.8232, allocations: 37.64 kB / 1.108 GB, free: 4.801 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.8232, allocations: 56.66 kB / 1.109 GB, free: 4.734 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.8233, allocations: 92.94 kB / 1.109 GB, free: 4.637 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.8233, allocations: 26.42 kB / 1.109 GB, free: 4.605 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.8233, allocations: 92.16 kB / 1.109 GB, free: 4.512 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.8233, allocations: 7.906 kB / 1.109 GB, free: 4.504 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.8233, allocations: 0 / 1.109 GB, free: 4.504 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.8234, allocations: 310.8 kB / 1.109 GB, free: 4.191 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.8235, allocations: 5.406 kB / 1.109 GB, free: 4.188 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.426e-05/0.8235, allocations: 8 kB / 1.109 GB, free: 4.18 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.565e-05/0.8235, allocations: 0 / 1.109 GB, free: 4.18 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8235, allocations: 0 / 1.109 GB, free: 4.18 MB / 0.7058 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.049e-05/0.8236, allocations: 49.59 kB / 1.109 GB, free: 4.125 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.8236, allocations: 8.094 kB / 1.109 GB, free: 4.117 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.8236, allocations: 0 / 1.109 GB, free: 4.117 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.8236, allocations: 6.062 kB / 1.109 GB, free: 4.113 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.8237, allocations: 11.98 kB / 1.109 GB, free: 4.102 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.8237, allocations: 4 kB / 1.109 GB, free: 4.098 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.8238, allocations: 8 kB / 1.109 GB, free: 4.09 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.8238, allocations: 0 / 1.109 GB, free: 4.09 MB / 0.7058 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 5.982e-05/0.8239, allocations: 108.9 kB / 1.109 GB, free: 3.977 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.8239, allocations: 0 / 1.109 GB, free: 3.977 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.824, allocations: 45 kB / 1.109 GB, free: 3.922 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8241, allocations: 0.5625 kB / 1.109 GB, free: 3.922 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8241, allocations: 0 / 1.109 GB, free: 3.922 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8241, allocations: 3.984 kB / 1.109 GB, free: 3.918 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8242, allocations: 142.2 kB / 1.109 GB, free: 3.742 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8242, allocations: 4 kB / 1.109 GB, free: 3.738 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.8243, allocations: 11.98 kB / 1.109 GB, free: 3.727 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8243, allocations: 0.9375 kB / 1.109 GB, free: 3.727 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.8243, allocations: 0 / 1.109 GB, free: 3.727 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8243, allocations: 5.422 kB / 1.109 GB, free: 3.723 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8243, allocations: 1.188 kB / 1.109 GB, free: 3.723 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001035/0.8244, allocations: 139.5 kB / 1.11 GB, free: 3.57 MB / 0.7058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000221/0.8247, allocations: 0.5077 MB / 1.11 GB, free: 3.043 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.8247, allocations: 77.11 kB / 1.11 GB, free: 2.949 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8247, allocations: 0 / 1.11 GB, free: 2.949 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.8248, allocations: 16.05 kB / 1.11 GB, free: 2.934 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.8249, allocations: 3.938 kB / 1.11 GB, free: 2.93 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.8249, allocations: 1.5 kB / 1.11 GB, free: 2.93 MB / 0.7058 GB Notification: Performance of sort global known variables: time 3.604e-05/0.8249, allocations: 97.97 kB / 1.11 GB, free: 2.836 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.0007437/0.8257, allocations: 7.906 kB / 1.11 GB, free: 2.828 MB / 0.7058 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.0001124/0.8258, allocations: 96.89 kB / 1.11 GB, free: 2.723 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.8259, allocations: 16 kB / 1.11 GB, free: 2.707 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8259, allocations: 4 kB / 1.11 GB, free: 2.703 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 1.827e-05/0.8259, allocations: 4 kB / 1.11 GB, free: 2.699 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.8261, allocations: 0 / 1.11 GB, free: 2.699 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.8263, allocations: 56.73 kB / 1.11 GB, free: 2.621 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.8265, allocations: 0.6957 MB / 1.111 GB, free: 1.898 MB / 0.7058 GB Notification: Performance of SimCode: time 2.71e-07/0.8265, allocations: 0 / 1.111 GB, free: 1.898 MB / 0.7058 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)