Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.379/1.379, allocations: 289.8 MB / 297.1 MB, free: 6.594 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.0009657/0.0009658, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.038/1.038, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0009286/0.0009284, allocations: 88.19 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1907/0.1917, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.6011, allocations: 116.3 MB / 0.9727 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.7387, allocations: 138 MB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.739, allocations: 71.89 kB / 1.108 GB, free: 10.4 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.004584/0.7436, allocations: 1.508 MB / 1.109 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.7436, allocations: 8.562 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.7436, allocations: 7.906 kB / 1.109 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.7438, allocations: 181.1 kB / 1.109 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7438, allocations: 4 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.7438, allocations: 4 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001147/0.7439, allocations: 47.98 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7441, allocations: 75 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.7441, allocations: 4 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7441, allocations: 0 / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7441, allocations: 0 / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.7446, allocations: 317.1 kB / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.745, allocations: 90.59 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.209e-05/0.7451, allocations: 24.86 kB / 1.11 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.7451, allocations: 12.12 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.7451, allocations: 34.56 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.7451, allocations: 0 / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000214/0.7453, allocations: 81.59 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.7454, allocations: 51.41 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.7454, allocations: 112.9 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.7455, allocations: 25.7 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.7455, allocations: 92.12 kB / 1.11 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.7455, allocations: 16.41 kB / 1.11 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.7456, allocations: 7.938 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.7456, allocations: 322.8 kB / 1.11 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.7457, allocations: 20 kB / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.7457, allocations: 16 kB / 1.11 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.7458, allocations: 25.86 kB / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7458, allocations: 0 / 1.11 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001518/0.746, allocations: 85.58 kB / 1.111 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.746, allocations: 9.062 kB / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.746, allocations: 0 / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.746, allocations: 8 kB / 1.111 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.7462, allocations: 27.97 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.7462, allocations: 0 / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.7464, allocations: 27.89 kB / 1.111 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.7464, allocations: 0 / 1.111 GB, free: 7.008 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 (max1.u1,max1.u2,max1.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.112e-05/0.7464, allocations: 108.9 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.7465, allocations: 7.891 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.7467, allocations: 102 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7467, allocations: 0 / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7467, allocations: 0 / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7467, allocations: 6.344 kB / 1.111 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.7469, allocations: 170.1 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7469, allocations: 4 kB / 1.111 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.7471, allocations: 35.97 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7471, allocations: 0 / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.7471, allocations: 4 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7471, allocations: 3.938 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7471, allocations: 0 / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001832/0.7473, allocations: 188.6 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002754/0.7476, allocations: 0.5544 MB / 1.112 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.7476, allocations: 85 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.7477, allocations: 4 kB / 1.112 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.7478, allocations: 23.97 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.7479, allocations: 15.97 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.7479, allocations: 8 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.292e-05/0.748, allocations: 97.5 kB / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008115/0.7488, allocations: 19.94 kB / 1.112 GB, free: 5.488 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 (max1.u1,max1.u2,max1.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.0001095/0.7489, allocations: 107.2 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.749, allocations: 51.98 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.749, allocations: 4 kB / 1.112 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.301e-05/0.7491, allocations: 43.92 kB / 1.112 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.7493, allocations: 6.281 kB / 1.112 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.7496, allocations: 115.5 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.7499, allocations: 0.7121 MB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7499, allocations: 0 / 1.113 GB, free: 4.398 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)