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.Abs.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.Abs,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",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.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.00101/0.00101, allocations: 180.3 kB / 316 MB, free: 3.543 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.096/1.096, allocations: 205.1 MB / 0.5667 GB, free: 15.71 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.0008704/0.0008704, allocations: 91.31 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3296/0.3305, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.4921, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.9845, allocations: 131.9 MB / 1.013 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9848, allocations: 73.83 kB / 1.014 GB, free: 6.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002927/0.9877, allocations: 0.9847 MB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.9877, allocations: 11.94 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.9878, allocations: 7.906 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.9879, allocations: 163.1 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.9879, allocations: 4 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.988, allocations: 0 / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.834e-05/0.988, allocations: 27.12 kB / 1.015 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.9881, allocations: 56.2 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.9882, allocations: 0 / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9882, allocations: 0 / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9882, allocations: 0.75 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.9886, allocations: 270.8 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/0.9887, allocations: 48.78 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.9887, allocations: 22.69 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.9888, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.9888, allocations: 38.5 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.9888, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001845/0.989, allocations: 63.97 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.989, allocations: 55.34 kB / 1.015 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.9892, allocations: 96.56 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.9892, allocations: 29.69 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.9892, allocations: 87.64 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.9892, allocations: 7.812 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.9893, allocations: 4 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.9894, allocations: 310.8 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.9894, allocations: 19.05 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.9894, allocations: 11.62 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.9894, allocations: 11.69 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.9895, allocations: 0 / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.616e-05/0.9896, allocations: 56.69 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.9896, allocations: 4 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.9896, allocations: 0 / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.9896, allocations: 3.906 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.9898, allocations: 31.41 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9898, allocations: 3.984 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.9899, allocations: 8 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.9899, allocations: 0 / 1.016 GB, free: 4.18 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: 2 (abs1.u,abs1.y) * 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.371e-05/0.99, allocations: 109 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.99, allocations: 7.891 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.99, allocations: 7.938 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.99, allocations: 4 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.99, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.99, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.9902, allocations: 153.1 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9902, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.9903, allocations: 27.59 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9903, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.9903, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.9903, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9903, allocations: 0 / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000136/0.9905, allocations: 157.5 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002436/0.9907, allocations: 0.5285 MB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.9908, allocations: 81.11 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.9908, allocations: 0 / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.9909, allocations: 11.98 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.991, allocations: 15.08 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.991, allocations: 0.875 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.296e-05/0.991, allocations: 86.78 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007554/0.9918, allocations: 8 kB / 1.017 GB, free: 2.934 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001273/0.9919, allocations: 103.2 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.176e-05/0.992, allocations: 34.56 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.992, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.9921, allocations: 21.86 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.9922, allocations: 8 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.9925, allocations: 82.2 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.9928, allocations: 0.7069 MB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.9929, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)