Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.219/1.219, allocations: 249.4 MB / 256.7 MB, free: 7.133 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.0009785/0.0009786, allocations: 185.1 kB / 316 MB, free: 3.508 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.093/1.093, allocations: 205.2 MB / 0.5667 GB, free: 15.57 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.0008828/0.0008828, allocations: 86.66 kB / 0.671 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3346/0.3355, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.4927, allocations: 106.3 MB / 0.8847 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4973/0.99, allocations: 132 MB / 1.014 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/0.9904, allocations: 75.62 kB / 1.014 GB, free: 6.688 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004971/0.9954, allocations: 1.571 MB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9955, allocations: 8 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.9955, allocations: 7.906 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.9957, allocations: 191.5 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.9957, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.9957, allocations: 4 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/0.9959, allocations: 49.98 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.996, allocations: 71.59 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.996, allocations: 0 / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.996, allocations: 0 / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.996, allocations: 4 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.9965, allocations: 321.8 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.997, allocations: 90.97 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.554e-05/0.997, allocations: 26.3 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.997, allocations: 12.08 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.9971, allocations: 30.56 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.9971, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002193/0.9973, allocations: 85.52 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.9973, allocations: 55.41 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.9974, allocations: 113.2 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.9974, allocations: 25.7 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.9975, allocations: 87.42 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.9975, allocations: 27.52 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.9975, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.9976, allocations: 318.1 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.296e-05/0.9977, allocations: 18.67 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.9977, allocations: 26.5 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.9978, allocations: 24.06 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.9978, allocations: 0 / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001522/0.9979, allocations: 82.64 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.998, allocations: 4 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.998, allocations: 0 / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.998, allocations: 0 / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.9982, allocations: 39.16 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.9982, allocations: 4.062 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.9983, allocations: 27.81 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.9984, allocations: 8.562 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.529e-05/0.9984, allocations: 101 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.9985, allocations: 11.89 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.9985, allocations: 11.62 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9985, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9985, allocations: 7.859 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9985, allocations: 3.938 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.9987, allocations: 177.9 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9987, allocations: 3.938 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.9989, allocations: 35.97 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.9989, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.999, allocations: 3.984 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.999, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.999, allocations: 4 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000195/0.9992, allocations: 187.5 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002894/0.9995, allocations: 0.554 MB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.9995, allocations: 81.02 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.9996, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.9997, allocations: 23.98 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.9998, allocations: 19.22 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.9998, allocations: 7.984 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.63e-05/0.9999, allocations: 92.72 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007704/1.001, allocations: 19.91 kB / 1.018 GB, free: 2.207 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 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000135/1.001, allocations: 115.1 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000133/1.001, allocations: 51.94 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/1.001, allocations: 3.938 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/1.001, allocations: 33.11 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/1.001, allocations: 6.875 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/1.002, allocations: 120.6 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/1.002, allocations: 0.7114 MB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/1.002, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)