Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Integers.Validation.Add,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.31/1.31, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.000992/0.0009921, allocations: 181.3 kB / 361.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007318/0.0007318, allocations: 93.78 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.172/0.1728, allocations: 121.5 MB / 0.8512 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.5792, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.7086, allocations: 137 MB / 1.098 GB, free: 2.945 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/0.7088, allocations: 71.95 kB / 1.098 GB, free: 2.875 MB / 0.698 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.004626/0.7134, allocations: 1.542 MB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.7135, allocations: 13.14 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.7135, allocations: 7.906 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7137, allocations: 183.4 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.7137, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.7137, allocations: 4.719 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000122/0.7138, allocations: 47.98 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.714, allocations: 74.44 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.714, allocations: 1.266 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.714, allocations: 0.5 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.714, allocations: 4.531 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.7145, allocations: 317.2 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.7149, allocations: 90.56 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.715, allocations: 28.86 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.715, allocations: 4 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.715, allocations: 34.56 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.715, allocations: 0 / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002234/0.7153, allocations: 89.52 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.7153, allocations: 52.53 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.7154, allocations: 109 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.7154, allocations: 29.7 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.7155, allocations: 96.03 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.7155, allocations: 15.75 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.7155, allocations: 0 / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7157, allocations: 322.8 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.7157, allocations: 20.16 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.7158, allocations: 26.41 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.7158, allocations: 23.98 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7158, allocations: 3.906 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001569/0.716, allocations: 81.59 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.716, allocations: 7.75 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.716, allocations: 5.812 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.716, allocations: 0.6094 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.7162, allocations: 35.91 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7162, allocations: 3.984 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.7164, allocations: 19.98 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.7164, allocations: 4 kB / 1.101 GB, free: 15.48 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: 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.783e-05/0.7165, allocations: 105 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.7165, allocations: 11.81 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.7166, allocations: 16.92 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7166, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7166, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7166, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7167, allocations: 170.2 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7168, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.7169, allocations: 35.97 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.7169, allocations: 4.562 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.717, allocations: 5.734 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.717, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.717, allocations: 3.938 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001905/0.7172, allocations: 190 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002585/0.7174, allocations: 0.5528 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.7175, allocations: 84.95 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.7175, allocations: 3.906 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.7177, allocations: 23.98 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.7178, allocations: 15.97 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.7178, allocations: 12.88 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.369e-05/0.7178, allocations: 89.53 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008327/0.7187, allocations: 20.12 kB / 1.102 GB, free: 14.06 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: 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.0001196/0.7188, allocations: 110.9 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.7189, allocations: 63.97 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.719, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.719, allocations: 35.94 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.7192, allocations: 15.89 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.7196, allocations: 112.3 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.7199, allocations: 0.7153 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7199, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)