Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.152/2.152, allocations: 284.8 MB / 292.1 MB, free: 9.883 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.001603/0.001603, allocations: 186.3 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 0.6187 GB, free: 3.352 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.001184/0.001184, allocations: 95.16 kB / 0.7317 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4885/0.4897, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.6833, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.8992, allocations: 136.8 MB / 1.096 GB, free: 16 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.3391/1.238, allocations: 67.59 kB / 1.096 GB, free: 139.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004272/1.243, allocations: 0.952 MB / 1.097 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.243, allocations: 8.969 kB / 1.097 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/1.243, allocations: 6.719 kB / 1.097 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/1.243, allocations: 170.8 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.243, allocations: 1.281 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/1.243, allocations: 5.844 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/1.243, allocations: 24.86 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.243, allocations: 54.98 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.243, allocations: 4.5 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.243, allocations: 2.672 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.243, allocations: 1.031 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/1.244, allocations: 258.8 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/1.244, allocations: 51.52 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/1.244, allocations: 20.22 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/1.244, allocations: 5.297 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/1.244, allocations: 35.75 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.244, allocations: 0 / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002359/1.244, allocations: 58.12 kB / 1.098 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/1.244, allocations: 52.5 kB / 1.098 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/1.244, allocations: 100.1 kB / 1.098 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/1.244, allocations: 30.27 kB / 1.098 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/1.244, allocations: 87.36 kB / 1.098 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/1.245, allocations: 5.578 kB / 1.098 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.245, allocations: 0 / 1.098 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/1.245, allocations: 317.2 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/1.245, allocations: 10.72 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/1.245, allocations: 14.58 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/1.245, allocations: 10.94 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.245, allocations: 0 / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001547/1.245, allocations: 67.56 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.245, allocations: 5.125 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.245, allocations: 4.641 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.245, allocations: 1.125 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.245, allocations: 15.27 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.245, allocations: 2.25 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/1.245, allocations: 13.98 kB / 1.099 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/1.245, allocations: 2.125 kB / 1.099 GB, free: 138.1 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: 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 5.742e-05/1.245, allocations: 106 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/1.246, allocations: 5.844 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.246, allocations: 7.984 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.246, allocations: 1.875 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.246, allocations: 0.875 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/1.246, allocations: 6.484 kB / 1.099 GB, free: 138 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/1.246, allocations: 154.3 kB / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/1.246, allocations: 1.188 kB / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.246, allocations: 15.84 kB / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/1.246, allocations: 0 / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/1.246, allocations: 2.875 kB / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.246, allocations: 1.75 kB / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.246, allocations: 0 / 1.099 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001882/1.246, allocations: 168.3 kB / 1.099 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002083/1.246, allocations: 0.5271 MB / 1.1 GB, free: 137.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/1.246, allocations: 82.91 kB / 1.1 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/1.247, allocations: 0.7031 kB / 1.1 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.247, allocations: 13.12 kB / 1.1 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/1.247, allocations: 8.906 kB / 1.1 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/1.247, allocations: 4.25 kB / 1.1 GB, free: 137.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.45e-05/1.247, allocations: 83.7 kB / 1.1 GB, free: 137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001176/1.248, allocations: 14.05 kB / 1.1 GB, free: 137 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: 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.0001282/1.248, allocations: 107.2 kB / 1.1 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000152/1.248, allocations: 34.53 kB / 1.1 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.248, allocations: 0 / 1.1 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-05/1.248, allocations: 21.19 kB / 1.1 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/1.249, allocations: 6.828 kB / 1.1 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/1.249, allocations: 81.11 kB / 1.1 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/1.249, allocations: 0.6989 MB / 1.101 GB, free: 136.1 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.249, allocations: 0 / 1.101 GB, free: 136.1 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1)