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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.32/1.32, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0008956/0.0008955, allocations: 183.3 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9978/0.9978, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0007612/0.0007612, allocations: 97.38 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.1716, allocations: 121.4 MB / 0.8511 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.5706, allocations: 115.3 MB / 0.9638 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.6975, allocations: 137.3 MB / 1.098 GB, free: 2.773 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.6977, allocations: 69.45 kB / 1.098 GB, free: 2.707 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.004811/0.7025, allocations: 1.845 MB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.7025, allocations: 8 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.7026, allocations: 7.906 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.302e-05/0.7027, allocations: 167.1 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.7027, allocations: 4.531 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.7027, allocations: 5.109 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.418e-05/0.7028, allocations: 7.984 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.426e-05/0.7028, allocations: 39.11 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-06/0.7028, allocations: 0.5625 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.7028, allocations: 0 / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.7029, allocations: 2.906 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.7032, allocations: 286.5 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.7032, allocations: 29.7 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.7033, allocations: 10.03 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7033, allocations: 0.5938 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.7034, allocations: 52.41 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.7034, allocations: 0.7188 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000135/0.7035, allocations: 62.33 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.7035, allocations: 52.12 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.7036, allocations: 101.5 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.7036, allocations: 26.3 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.7037, allocations: 88.08 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.7037, allocations: 11.91 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.7037, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.7038, allocations: 318.7 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.7039, allocations: 28 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.066e-05/0.7039, allocations: 38.58 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.7041, allocations: 43.95 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7041, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002716/0.7044, allocations: 113.6 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.7044, allocations: 10.19 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.7044, allocations: 0.8438 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.7045, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.303e-05/0.7045, allocations: 4 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7045, allocations: 5.234 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.7047, allocations: 47.97 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.7047, allocations: 7.984 kB / 1.101 GB, free: 15.17 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: 4 ($whenCondition1,$whenCondition2,$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.011e-05/0.7048, allocations: 109 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.7048, allocations: 4.469 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.7048, allocations: 10.5 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7048, allocations: 1.781 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7048, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7048, allocations: 0.5156 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.429e-05/0.7049, allocations: 138.2 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.7049, allocations: 4 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.7049, allocations: 7.906 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.705, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.705, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.705, allocations: 4 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.705, allocations: 0 / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.928e-05/0.7051, allocations: 85.61 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001395/0.7052, allocations: 458.4 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.7052, allocations: 77.11 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.7053, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.7053, allocations: 4 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.7053, allocations: 7.891 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.7053, allocations: 7.938 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.294e-05/0.7054, allocations: 86.95 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007353/0.7061, allocations: 24 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 ($whenCondition1,$whenCondition2,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.0001218/0.7062, allocations: 119.9 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.7064, allocations: 81.62 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.7064, allocations: 0 / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/0.7064, allocations: 12 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.000129/0.7065, allocations: 4 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001659/0.7067, allocations: 84.27 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.7069, allocations: 0.6926 MB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7069, allocations: 4 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)