Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009167/0.0009167, allocations: 189.2 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 10.4 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.0007674/0.0007671, allocations: 87.47 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1726/0.1734, allocations: 121.5 MB / 0.8512 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.5851, allocations: 115.3 MB / 0.9638 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.7177, allocations: 137.3 MB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.7179, allocations: 68.56 kB / 1.098 GB, free: 2.637 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004955/0.7229, allocations: 1.843 MB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.7229, allocations: 8.562 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.723, allocations: 8.5 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.7231, allocations: 171 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7231, allocations: 4.562 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.7231, allocations: 4 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.66e-05/0.7232, allocations: 16.64 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.121e-05/0.7232, allocations: 38.2 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-06/0.7232, allocations: 1.016 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.7233, allocations: 0 / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.7233, allocations: 2.75 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.7236, allocations: 274.3 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.7236, allocations: 28.33 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.7237, allocations: 17.8 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.7237, allocations: 0 / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.7237, allocations: 51.41 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.7238, allocations: 0.5312 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001268/0.7239, allocations: 57.59 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.7239, allocations: 51.41 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.724, allocations: 101 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.724, allocations: 29.7 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.7241, allocations: 84.14 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.7241, allocations: 3.906 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.7241, allocations: 4 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7242, allocations: 318.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.7243, allocations: 31.94 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.7244, allocations: 43.7 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.7245, allocations: 41.33 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7246, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002824/0.7248, allocations: 117.5 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.7249, allocations: 12 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7249, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.7249, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.7249, allocations: 6.156 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.7249, allocations: 3.938 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.7251, allocations: 43.88 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.7252, allocations: 7.984 kB / 1.101 GB, free: 15.1 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 5.785e-05/0.7252, allocations: 105 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.7252, allocations: 5.781 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.7253, allocations: 16 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7253, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.7253, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.7253, allocations: 0 / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.892e-05/0.7254, allocations: 142.2 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7254, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.7254, allocations: 4.594 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7254, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.7254, allocations: 7.906 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7254, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7254, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.994e-05/0.7255, allocations: 85.02 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001533/0.7257, allocations: 455.8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.7257, allocations: 79.12 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.7257, allocations: 6 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.7258, allocations: 7.938 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.7258, allocations: 3.984 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.7258, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.271e-05/0.7258, allocations: 87.28 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007341/0.7266, allocations: 27.84 kB / 1.102 GB, free: 13.99 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.0001284/0.7267, allocations: 115 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.7269, allocations: 77.69 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.7269, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.7269, allocations: 20.06 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.7271, allocations: 9.25 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.7273, allocations: 73.8 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.7275, allocations: 0.6915 MB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7275, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)