Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.16/2.16, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001585/0.001585, allocations: 193.2 kB / 360.3 MB, free: 7.527 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.636/1.636, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001218/0.001218, allocations: 99.47 kB / 0.7317 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2425/0.2437, allocations: 121.4 MB / 0.8502 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.7843, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.9852, allocations: 137.1 MB / 1.097 GB, free: 3.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.9855, allocations: 69.94 kB / 1.097 GB, free: 3.656 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.008604/0.9941, allocations: 1.853 MB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.9942, allocations: 8.688 kB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.9942, allocations: 7.906 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.9944, allocations: 171.8 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.9944, allocations: 5.094 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.9944, allocations: 4.625 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.717e-05/0.9945, allocations: 8 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.9946, allocations: 34.28 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.9946, allocations: 4.781 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.9946, allocations: 0 / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9946, allocations: 0.7188 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.9951, allocations: 278.1 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.9952, allocations: 25.17 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.9952, allocations: 12.92 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-06/0.9953, allocations: 0 / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.924e-05/0.9953, allocations: 55.41 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.9954, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.9955, allocations: 57.53 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.9956, allocations: 55.41 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.9957, allocations: 105 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.9957, allocations: 25.7 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.9958, allocations: 88.14 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.9958, allocations: 3.906 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.9959, allocations: 4 kB / 1.099 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.996, allocations: 318.8 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.9961, allocations: 24 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.9963, allocations: 50.56 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.9966, allocations: 33.28 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9966, allocations: 4 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00047/0.9971, allocations: 113.5 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9971, allocations: 8.062 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9971, allocations: 4 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.9971, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.9972, allocations: 7.984 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9972, allocations: 7.938 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.9976, allocations: 43.88 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.9976, allocations: 6.062 kB / 1.1 GB, free: 108 kB / 0.698 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 0.0001575/0.9978, allocations: 114.3 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.9978, allocations: 3.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.9978, allocations: 11.98 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9979, allocations: 4.094 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9979, allocations: 3.984 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9979, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.998, allocations: 138.2 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.998, allocations: 0 / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.9981, allocations: 4 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.9981, allocations: 0 / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.9981, allocations: 7.891 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9981, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9981, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001294/0.9983, allocations: 77.03 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000268/0.9986, allocations: 465.4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.9986, allocations: 78.52 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.9986, allocations: 5.547 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.9987, allocations: 0 / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.9987, allocations: 8 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.9987, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.435e-05/0.9988, allocations: 86.02 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001127/0.9999, allocations: 31.83 kB / 1.101 GB, free: 14.98 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.0001679/1, allocations: 99.25 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002462/1, allocations: 85.62 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/1, allocations: 12.12 kB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/1.001, allocations: 20.67 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/1.001, allocations: 67.22 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/1.001, allocations: 0.6954 MB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of SimCode: time 7.62e-07/1.001, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)