Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.366/1.366, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001004/0.001004, allocations: 185.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.059/1.059, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008166/0.0008166, allocations: 87 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1959/0.1968, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.6425, allocations: 116.3 MB / 0.9727 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.7844, allocations: 138.3 MB / 1.108 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.7847, allocations: 67.95 kB / 1.108 GB, free: 10.19 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005165/0.7899, allocations: 1.85 MB / 1.11 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7899, allocations: 8 kB / 1.11 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.79, allocations: 11.91 kB / 1.11 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.7901, allocations: 175 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7901, allocations: 3.906 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.7902, allocations: 4.75 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.068e-05/0.7902, allocations: 8 kB / 1.11 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.185e-05/0.7903, allocations: 37.69 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7903, allocations: 0 / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.7903, allocations: 0 / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.7903, allocations: 0 / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.7907, allocations: 277.3 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.7908, allocations: 33.16 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.7908, allocations: 9.859 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.7908, allocations: 0 / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.107e-05/0.7909, allocations: 51.41 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.7909, allocations: 4 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.791, allocations: 61.53 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.7911, allocations: 51.41 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.7911, allocations: 103.8 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.7912, allocations: 29.7 kB / 1.11 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.7912, allocations: 80.14 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.7912, allocations: 11.91 kB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.7912, allocations: 0.9375 kB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.7913, allocations: 314.8 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.7914, allocations: 32 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.7915, allocations: 46.56 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.7917, allocations: 31.97 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7917, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000282/0.792, allocations: 121.5 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.792, allocations: 8 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.792, allocations: 4 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.792, allocations: 0 / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.119e-05/0.7921, allocations: 8.547 kB / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7921, allocations: 0 / 1.111 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.7923, allocations: 47.88 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.7923, allocations: 7.938 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.456e-05/0.7923, allocations: 110.2 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.7924, allocations: 7.906 kB / 1.111 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.7924, allocations: 11.98 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7924, allocations: 0 / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7924, allocations: 1.312 kB / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7924, allocations: 0 / 1.111 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.209e-05/0.7925, allocations: 138.2 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7925, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.7925, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7925, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.7926, allocations: 11.89 kB / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7926, allocations: 0 / 1.111 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7926, allocations: 4 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.209e-05/0.7927, allocations: 80.97 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001578/0.7928, allocations: 453.4 kB / 1.112 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.7929, allocations: 77.11 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.7929, allocations: 7.984 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.7929, allocations: 4 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.793, allocations: 5.125 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.793, allocations: 4 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.157e-05/0.793, allocations: 79.28 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007462/0.7938, allocations: 35.83 kB / 1.112 GB, free: 5.469 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001422/0.7939, allocations: 107.2 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.7941, allocations: 81.62 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7941, allocations: 4.125 kB / 1.112 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.7941, allocations: 12 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.7943, allocations: 10.05 kB / 1.112 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.7945, allocations: 80.03 kB / 1.112 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.7947, allocations: 0.6915 MB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7947, allocations: 0 / 1.113 GB, free: 4.43 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)