Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.231/1.231, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 188.3 kB / 316 MB, free: 3.555 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.1 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 82.34 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3482/0.349, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.5033, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.9537, allocations: 131.7 MB / 1.013 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.9539, allocations: 80.09 kB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001769/0.9557, allocations: 0.681 MB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.9558, allocations: 8 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.9558, allocations: 3.984 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.9559, allocations: 177.7 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.956, allocations: 0 / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.956, allocations: 4 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.08e-05/0.956, allocations: 15.31 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.627e-05/0.9561, allocations: 37.06 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-06/0.9561, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.9561, allocations: 0 / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9561, allocations: 3.906 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.9564, allocations: 228.8 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.9565, allocations: 41.77 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.9565, allocations: 8.859 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.9566, allocations: 0 / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.9566, allocations: 62.39 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.9566, allocations: 4 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001257/0.9568, allocations: 45.25 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.9568, allocations: 51.41 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.9569, allocations: 100.5 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.9569, allocations: 25.7 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.9569, allocations: 87.58 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.9569, allocations: 7.891 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.957, allocations: 3.938 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.957, allocations: 322.4 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.9571, allocations: 4 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.9571, allocations: 17.28 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.9571, allocations: 15.48 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.9571, allocations: 0 / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.184e-05/0.9572, allocations: 45.2 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.9572, allocations: 10.28 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9573, allocations: 4 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.9573, allocations: 0 / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.9573, allocations: 11.89 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.9573, allocations: 0 / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.9574, allocations: 8.031 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.9574, allocations: 4 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.085e-05/0.9575, allocations: 104.5 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.9575, allocations: 11.84 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.9575, allocations: 7.984 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.9575, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9575, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9575, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.955e-05/0.9576, allocations: 137.7 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9576, allocations: 7.984 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.9577, allocations: 4 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9577, allocations: 3.906 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.9577, allocations: 3.438 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.9577, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9577, allocations: 0 / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.052e-05/0.9578, allocations: 76.03 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001612/0.9579, allocations: 460.1 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.958, allocations: 77.11 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.958, allocations: 3.984 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.9581, allocations: 4.875 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.9581, allocations: 7.984 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.9581, allocations: 7.938 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.757e-05/0.9582, allocations: 89.53 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007092/0.9589, allocations: 7.906 kB / 1.016 GB, free: 3.676 MB / 0.6355 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,booToInt.y,booPul.y,booPul.pulseStart) * 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 9.885e-05/0.959, allocations: 99.19 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.178e-05/0.9591, allocations: 27.42 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9591, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.9591, allocations: 8.094 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.9593, allocations: 11.25 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.9595, allocations: 75.11 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.9597, allocations: 0.6977 MB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9597, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)