Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.38/1.38, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001022/0.001022, allocations: 177.2 kB / 366.3 MB, free: 1.996 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.068/1.068, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008057/0.0008058, allocations: 87.97 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1966/0.1975, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.635, allocations: 116.3 MB / 0.9727 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.7818, allocations: 138 MB / 1.107 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.7821, allocations: 72.42 kB / 1.108 GB, free: 10.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004725/0.7868, allocations: 1.544 MB / 1.109 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.7869, allocations: 13.31 kB / 1.109 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.7869, allocations: 11.91 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7871, allocations: 174.9 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.7871, allocations: 11.94 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.7871, allocations: 4 kB / 1.109 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.7872, allocations: 43.98 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.7874, allocations: 77.5 kB / 1.109 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.7874, allocations: 4 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7874, allocations: 0 / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.7874, allocations: 0 / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.7879, allocations: 313.3 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.7883, allocations: 94.5 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.7884, allocations: 28.86 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.7884, allocations: 4 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.7884, allocations: 36.06 kB / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.7884, allocations: 0 / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002185/0.7887, allocations: 85.58 kB / 1.11 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.7887, allocations: 51.41 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.7888, allocations: 113 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.7888, allocations: 25.7 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.7889, allocations: 92.05 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.7889, allocations: 15.73 kB / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.7889, allocations: 0 / 1.11 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.789, allocations: 322.8 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.7891, allocations: 31.86 kB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.7891, allocations: 20 kB / 1.111 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.7892, allocations: 16 kB / 1.111 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7892, allocations: 7.891 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.7893, allocations: 87.14 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7894, allocations: 5.719 kB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7894, allocations: 5.312 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.7894, allocations: 0 / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.7896, allocations: 31.97 kB / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7896, allocations: 0 / 1.111 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.7897, allocations: 27.97 kB / 1.111 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7898, allocations: 3.984 kB / 1.111 GB, free: 6.922 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 7.19e-05/0.7898, allocations: 108.9 kB / 1.111 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7899, allocations: 11.81 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.7899, allocations: 8.375 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7899, allocations: 0 / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7899, allocations: 3.984 kB / 1.111 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7899, allocations: 4 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.7901, allocations: 174.2 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7901, allocations: 0 / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.7903, allocations: 32.72 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.7903, allocations: 3.906 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.7904, allocations: 7.984 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7904, allocations: 4 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7904, allocations: 0 / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/0.7906, allocations: 188.8 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002759/0.7909, allocations: 0.5467 MB / 1.112 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.7909, allocations: 96.95 kB / 1.112 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.7909, allocations: 4.844 kB / 1.112 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.7911, allocations: 15.98 kB / 1.112 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.7912, allocations: 19.97 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7912, allocations: 0 / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.789e-05/0.7913, allocations: 107.4 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008124/0.7921, allocations: 12 kB / 1.112 GB, free: 5.492 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.0001206/0.7922, allocations: 107.2 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.7923, allocations: 51.94 kB / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.7923, allocations: 0 / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.7924, allocations: 39.98 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.7926, allocations: 12.66 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.7929, allocations: 120.5 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.7932, allocations: 0.7169 MB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7932, allocations: 0 / 1.113 GB, free: 4.395 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)