Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001051/0.001051, allocations: 173.3 kB / 366.3 MB, free: 2.047 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.104/1.104, allocations: 205.2 MB / 0.6256 GB, free: 5.867 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.0008344/0.0008344, allocations: 94.66 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2047/0.2056, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.664, allocations: 116.3 MB / 0.9727 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.8051, allocations: 138.3 MB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.8053, allocations: 76.66 kB / 1.108 GB, free: 10.22 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.004918/0.8102, allocations: 1.83 MB / 1.11 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8103, allocations: 8 kB / 1.11 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.8103, allocations: 7.906 kB / 1.11 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8104, allocations: 167.1 kB / 1.11 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8105, allocations: 0.75 kB / 1.11 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.8105, allocations: 4 kB / 1.11 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.016e-05/0.8105, allocations: 11.94 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.101e-05/0.8106, allocations: 37.61 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.8106, allocations: 0 / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.8106, allocations: 0 / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.8106, allocations: 0 / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.811, allocations: 269.4 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.811, allocations: 22.58 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.8111, allocations: 16.86 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.8111, allocations: 0 / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.8111, allocations: 51.41 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.8111, allocations: 0 / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001166/0.8113, allocations: 45.69 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.8113, allocations: 55.41 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.8114, allocations: 96.91 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.8114, allocations: 33.7 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.8114, allocations: 88.08 kB / 1.11 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.8114, allocations: 7.906 kB / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.8115, allocations: 0 / 1.11 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.8115, allocations: 318.8 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-05/0.8116, allocations: 27.94 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.8117, allocations: 42.56 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.8118, allocations: 35.97 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8119, allocations: 0.8438 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002589/0.8121, allocations: 109.6 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.8121, allocations: 4 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8122, allocations: 10.25 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.8122, allocations: 3.984 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.116e-05/0.8122, allocations: 4.094 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.8122, allocations: 4 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.8124, allocations: 35.97 kB / 1.111 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.8124, allocations: 8 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.291e-05/0.8125, allocations: 105.5 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.8125, allocations: 7.906 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.8125, allocations: 8.391 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8125, allocations: 3.984 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.8125, allocations: 0 / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8125, allocations: 8 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.547e-05/0.8126, allocations: 138.9 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8127, allocations: 0 / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-06/0.8127, allocations: 3.906 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8127, allocations: 3.938 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.8127, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.8127, allocations: 0 / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8127, allocations: 3.984 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.984e-05/0.8128, allocations: 77.59 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001695/0.813, allocations: 453.4 kB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.813, allocations: 81.11 kB / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.813, allocations: 0 / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.813, allocations: 0 / 1.112 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.8131, allocations: 3.984 kB / 1.112 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8131, allocations: 9.062 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.239e-05/0.8132, allocations: 87.22 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007378/0.8139, allocations: 23.91 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001309/0.814, allocations: 111.2 kB / 1.112 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.8142, allocations: 73.69 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8142, allocations: 0 / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.8142, allocations: 15.94 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.8144, allocations: 8.172 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.8146, allocations: 65.33 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002502/0.8149, allocations: 0.6915 MB / 1.113 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8149, allocations: 0 / 1.113 GB, free: 4.562 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)