Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.381/1.381, allocations: 289.8 MB / 297.1 MB, free: 12.67 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.001034/0.001034, allocations: 185.9 kB / 366.3 MB, free: 11.98 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.03/1.03, allocations: 205.1 MB / 0.6256 GB, free: 2.031 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.0008012/0.0008012, allocations: 90.94 kB / 0.7395 GB, free: 47.04 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.1906, allocations: 122.4 MB / 0.8591 GB, free: 7.086 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.6269, allocations: 116.3 MB / 0.9727 GB, free: 81.43 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.76, allocations: 137.8 MB / 1.107 GB, free: 6.074 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.7602, allocations: 69.14 kB / 1.107 GB, free: 6.008 MB / 0.7059 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.003641/0.7639, allocations: 1.185 MB / 1.108 GB, free: 4.812 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.7639, allocations: 15.98 kB / 1.108 GB, free: 4.797 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.764, allocations: 8.562 kB / 1.108 GB, free: 4.789 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.7641, allocations: 170.9 kB / 1.109 GB, free: 4.582 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.7641, allocations: 4.531 kB / 1.109 GB, free: 4.578 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7642, allocations: 5.406 kB / 1.109 GB, free: 4.574 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.663e-05/0.7643, allocations: 39.98 kB / 1.109 GB, free: 4.535 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7644, allocations: 61.47 kB / 1.109 GB, free: 4.473 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.7644, allocations: 0.5312 kB / 1.109 GB, free: 4.473 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.7644, allocations: 0.5938 kB / 1.109 GB, free: 4.473 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7644, allocations: 1.5 kB / 1.109 GB, free: 4.473 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.7649, allocations: 331.5 kB / 1.109 GB, free: 4.113 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.7651, allocations: 72.78 kB / 1.109 GB, free: 4.035 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.7651, allocations: 21.05 kB / 1.109 GB, free: 4.012 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.7651, allocations: 5.688 kB / 1.109 GB, free: 4.008 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.7652, allocations: 34.56 kB / 1.109 GB, free: 3.965 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.7652, allocations: 0 / 1.109 GB, free: 3.965 MB / 0.7059 GB Notification: Performance of matching and sorting (n=6): time 0.0001833/0.7654, allocations: 77.52 kB / 1.109 GB, free: 3.883 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.7654, allocations: 55.41 kB / 1.109 GB, free: 3.816 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/0.7655, allocations: 105 kB / 1.109 GB, free: 3.707 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.7655, allocations: 29.69 kB / 1.109 GB, free: 3.672 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.7655, allocations: 88.05 kB / 1.11 GB, free: 3.582 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.7656, allocations: 15.75 kB / 1.11 GB, free: 3.566 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.7656, allocations: 4 kB / 1.11 GB, free: 3.562 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7657, allocations: 322.8 kB / 1.11 GB, free: 3.238 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.506e-05/0.7657, allocations: 16 kB / 1.11 GB, free: 3.223 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.059e-05/0.7658, allocations: 16 kB / 1.11 GB, free: 3.207 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.7658, allocations: 21.95 kB / 1.11 GB, free: 3.188 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7658, allocations: 0 / 1.11 GB, free: 3.188 MB / 0.7059 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001364/0.766, allocations: 77.73 kB / 1.11 GB, free: 3.105 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.766, allocations: 7.938 kB / 1.11 GB, free: 3.098 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.766, allocations: 3.906 kB / 1.11 GB, free: 3.094 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.766, allocations: 4.75 kB / 1.11 GB, free: 3.09 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.7662, allocations: 23.97 kB / 1.11 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.7662, allocations: 0 / 1.11 GB, free: 3.066 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.883e-05/0.7663, allocations: 8 kB / 1.11 GB, free: 3.059 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7663, allocations: 3.984 kB / 1.11 GB, free: 3.055 MB / 0.7059 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 (6): * Single equations (assignments): 6 * 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 6.191e-05/0.7663, allocations: 109 kB / 1.11 GB, free: 2.941 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.7664, allocations: 3.906 kB / 1.11 GB, free: 2.938 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.7664, allocations: 12.38 kB / 1.11 GB, free: 2.922 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.7664, allocations: 5.109 kB / 1.11 GB, free: 2.918 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7664, allocations: 3.906 kB / 1.11 GB, free: 2.914 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7664, allocations: 0 / 1.11 GB, free: 2.914 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.7666, allocations: 167.4 kB / 1.11 GB, free: 2.715 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7666, allocations: 0 / 1.11 GB, free: 2.715 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.7667, allocations: 19.98 kB / 1.11 GB, free: 2.695 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7667, allocations: 7.984 kB / 1.11 GB, free: 2.688 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.7668, allocations: 0 / 1.11 GB, free: 2.688 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7668, allocations: 3.938 kB / 1.11 GB, free: 2.684 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7668, allocations: 3.906 kB / 1.11 GB, free: 2.68 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001556/0.7669, allocations: 170.1 kB / 1.111 GB, free: 2.5 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002553/0.7672, allocations: 0.5414 MB / 1.111 GB, free: 1.941 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.7673, allocations: 86.23 kB / 1.111 GB, free: 1.84 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.7673, allocations: 5.172 kB / 1.111 GB, free: 1.836 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.7674, allocations: 12 kB / 1.111 GB, free: 1.824 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.7675, allocations: 11.97 kB / 1.111 GB, free: 1.812 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.7675, allocations: 8 kB / 1.111 GB, free: 1.805 MB / 0.7059 GB Notification: Performance of sort global known variables: time 4.355e-05/0.7675, allocations: 87.28 kB / 1.111 GB, free: 1.719 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0007606/0.7683, allocations: 27.78 kB / 1.111 GB, free: 1.691 MB / 0.7059 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 (6): * Single equations (assignments): 6 * 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.000126/0.7684, allocations: 104.9 kB / 1.111 GB, free: 1.582 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.7686, allocations: 44 kB / 1.111 GB, free: 1.539 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.7686, allocations: 0 / 1.111 GB, free: 1.539 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.7686, allocations: 31.92 kB / 1.111 GB, free: 1.508 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.7688, allocations: 15.98 kB / 1.111 GB, free: 1.496 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.7691, allocations: 112.5 kB / 1.112 GB, free: 1.359 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.7694, allocations: 0.7075 MB / 1.112 GB, free: 0.625 MB / 0.7059 GB Notification: Performance of SimCode: time 2.51e-07/0.7694, allocations: 0 / 1.112 GB, free: 0.625 MB / 0.7059 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1)