Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.1-maint.8.0.x/package.mo): time 1.353/1.353, allocations: 285.5 MB / 292.8 MB, free: 9.793 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.0009089/0.0009089, allocations: 189.1 kB / 361.1 MB, free: 360 kB / 282.7 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.2 MB / 0.6195 GB, free: 2.902 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007767/0.0007768, allocations: 99.02 kB / 0.7326 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3588/0.3596, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.5087, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4111/0.9199, allocations: 136.7 MB / 1.097 GB, free: 43.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.9201, allocations: 69.27 kB / 1.097 GB, free: 43.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.002185/0.9223, allocations: 0.8677 MB / 1.098 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.9223, allocations: 7.719 kB / 1.098 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.9223, allocations: 7.656 kB / 1.098 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.858e-05/0.9224, allocations: 166.2 kB / 1.098 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.9224, allocations: 3.875 kB / 1.098 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.9225, allocations: 4.688 kB / 1.098 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.144e-05/0.9225, allocations: 25.19 kB / 1.098 GB, free: 43.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.906e-05/0.9226, allocations: 41.73 kB / 1.098 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.9226, allocations: 0 / 1.098 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.9226, allocations: 0 / 1.098 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.9226, allocations: 0 / 1.098 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.923, allocations: 285.8 kB / 1.099 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.657e-05/0.9231, allocations: 45.45 kB / 1.099 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.9231, allocations: 11.92 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.9231, allocations: 3.219 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.9232, allocations: 30.56 kB / 1.099 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.9232, allocations: 0 / 1.099 GB, free: 42.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000129/0.9233, allocations: 50.66 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.565e-05/0.9233, allocations: 54.94 kB / 1.099 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.392e-05/0.9234, allocations: 107.1 kB / 1.099 GB, free: 42.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.9234, allocations: 25.7 kB / 1.099 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.597e-05/0.9234, allocations: 87.03 kB / 1.099 GB, free: 42.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.9234, allocations: 12.64 kB / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.9234, allocations: 0 / 1.099 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.9235, allocations: 314 kB / 1.099 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.9235, allocations: 7.125 kB / 1.099 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.681e-05/0.9235, allocations: 7.156 kB / 1.099 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.916e-05/0.9235, allocations: 9.047 kB / 1.099 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.9235, allocations: 7.844 kB / 1.099 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.906e-05/0.9236, allocations: 48.55 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.9236, allocations: 3.875 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.9236, allocations: 3.828 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.9237, allocations: 6.547 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.9238, allocations: 23.67 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.9238, allocations: 0 / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.9239, allocations: 19.31 kB / 1.1 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.9239, allocations: 4.594 kB / 1.1 GB, free: 42.2 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 3.614e-05/0.9239, allocations: 108.3 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.924, allocations: 3.906 kB / 1.1 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.924, allocations: 11.19 kB / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.924, allocations: 0.6562 kB / 1.1 GB, free: 42.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.924, allocations: 3.938 kB / 1.1 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.924, allocations: 0 / 1.1 GB, free: 42.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.146e-05/0.9241, allocations: 145.9 kB / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.9241, allocations: 3.844 kB / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.9242, allocations: 28.3 kB / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9242, allocations: 0 / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.9243, allocations: 0.5625 kB / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9243, allocations: 0 / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9243, allocations: 0 / 1.1 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.997e-05/0.9243, allocations: 147.2 kB / 1.1 GB, free: 41.78 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002045/0.9246, allocations: 0.5196 MB / 1.101 GB, free: 57.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.9246, allocations: 77.11 kB / 1.101 GB, free: 57.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.9246, allocations: 11.69 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.9247, allocations: 23.14 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.9248, allocations: 288 / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.9248, allocations: 3.875 kB / 1.101 GB, free: 57.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.574e-05/0.9248, allocations: 86.5 kB / 1.101 GB, free: 57.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007357/0.9256, allocations: 11.56 kB / 1.101 GB, free: 57.08 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 8.978e-05/0.9256, allocations: 102.2 kB / 1.101 GB, free: 56.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.9257, allocations: 29.86 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.9257, allocations: 0 / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.9258, allocations: 14.19 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.9259, allocations: 3.844 kB / 1.101 GB, free: 56.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.9261, allocations: 85.16 kB / 1.101 GB, free: 56.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.9264, allocations: 0.6942 MB / 1.102 GB, free: 56.2 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9264, allocations: 4 kB / 1.102 GB, free: 56.2 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)