Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.0009615/0.0009614, allocations: 188.4 kB / 316 MB, free: 3.594 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.174/1.174, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008148/0.000815, allocations: 94.33 kB / 0.671 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3523/0.3532, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.528, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/1.029, allocations: 131.7 MB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.029, allocations: 76.62 kB / 1.013 GB, free: 6.848 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.002229/1.031, allocations: 0.6782 MB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.031, allocations: 12 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/1.031, allocations: 0 / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/1.032, allocations: 174.9 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.032, allocations: 4 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.032, allocations: 0 / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.422e-05/1.032, allocations: 11.81 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.624e-05/1.032, allocations: 33.69 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/1.032, allocations: 0 / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.032, allocations: 0 / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.032, allocations: 0.75 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/1.032, allocations: 246.8 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.032, allocations: 25.77 kB / 1.014 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/1.032, allocations: 8.922 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/1.032, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/1.033, allocations: 58.77 kB / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/1.033, allocations: 0 / 1.015 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001418/1.033, allocations: 45.34 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.033, allocations: 55.34 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/1.033, allocations: 99.12 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.033, allocations: 25.7 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/1.033, allocations: 82.88 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/1.033, allocations: 7.906 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.033, allocations: 4 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.033, allocations: 321.6 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/1.033, allocations: 7.375 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/1.033, allocations: 13.72 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/1.033, allocations: 7.562 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.033, allocations: 0 / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.407e-05/1.033, allocations: 49.16 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/1.033, allocations: 8.031 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.033, allocations: 0 / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.033, allocations: 4 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.691e-05/1.033, allocations: 3.938 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.033, allocations: 0 / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/1.033, allocations: 11.98 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/1.033, allocations: 0 / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.863e-05/1.034, allocations: 109 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/1.034, allocations: 3.906 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/1.034, allocations: 6.875 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.034, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.034, allocations: 4 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/1.034, allocations: 3.984 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/1.034, allocations: 141.7 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/1.034, allocations: 2.25 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-06/1.034, allocations: 0 / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.034, allocations: 3.938 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/1.034, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.034, allocations: 8 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.034, allocations: 0 / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.871e-05/1.034, allocations: 72.16 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002044/1.034, allocations: 448.9 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/1.034, allocations: 81.09 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/1.034, allocations: 4 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/1.034, allocations: 8 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/1.034, allocations: 3.984 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.034, allocations: 7.938 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.364e-05/1.034, allocations: 83.53 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007177/1.035, allocations: 7.906 kB / 1.016 GB, free: 3.715 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: 3 ($whenCondition1,assert.u,booPul.pulseStart) * 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.0001083/1.035, allocations: 103.5 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.214e-05/1.035, allocations: 25.62 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.035, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/1.035, allocations: 8.094 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/1.035, allocations: 5.969 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/1.036, allocations: 66.88 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/1.036, allocations: 0.6994 MB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/1.036, allocations: 3.938 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)