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.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0009384/0.0009383, allocations: 176.4 kB / 316 MB, free: 3.586 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.163/1.163, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0009161/0.0009161, allocations: 95.09 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.355/0.356, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.5282, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4999/1.028, allocations: 131.7 MB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.029, allocations: 73.17 kB / 1.013 GB, free: 6.922 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.001811/1.03, allocations: 0.6844 MB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.03, allocations: 8 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/1.03, allocations: 4 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.031, allocations: 170.9 kB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.031, allocations: 4 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.031, allocations: 3.75 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.274e-05/1.031, allocations: 15.48 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.656e-05/1.031, allocations: 33.14 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/1.031, allocations: 0 / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/1.031, allocations: 0.8438 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.031, allocations: 7.906 kB / 1.014 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/1.031, allocations: 230.8 kB / 1.014 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/1.031, allocations: 41.59 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/1.031, allocations: 12.91 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/1.031, allocations: 0 / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/1.031, allocations: 51.2 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.031, allocations: 0 / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001256/1.031, allocations: 52.44 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.031, allocations: 55.34 kB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/1.032, allocations: 104.5 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/1.032, allocations: 29.53 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/1.032, allocations: 80.14 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/1.032, allocations: 19.69 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.032, allocations: 0 / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/1.032, allocations: 314.8 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/1.032, allocations: 11.19 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/1.032, allocations: 17.28 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.561e-05/1.032, allocations: 7.875 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.032, allocations: 4 kB / 1.015 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.21e-05/1.032, allocations: 49.38 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.032, allocations: 14.72 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.032, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/1.032, allocations: 0 / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/1.032, allocations: 8.031 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/1.032, allocations: 0 / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.653e-05/1.032, allocations: 11.98 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/1.032, allocations: 0 / 1.015 GB, free: 4.812 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: 4 ($whenCondition1,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 5.092e-05/1.032, allocations: 101 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/1.032, allocations: 7.906 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/1.032, allocations: 7.562 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.032, allocations: 4 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.032, allocations: 4 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.032, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.603e-05/1.032, allocations: 141.1 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.032, allocations: 0 / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/1.032, allocations: 4 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.032, allocations: 0 / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/1.032, allocations: 0.875 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/1.032, allocations: 3.938 kB / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.032, allocations: 0 / 1.016 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.911e-05/1.032, allocations: 79.84 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001447/1.033, allocations: 456.6 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/1.033, allocations: 77.11 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/1.033, allocations: 3.25 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.775e-05/1.033, allocations: 15.98 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/1.033, allocations: 13.64 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.033, allocations: 7.938 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.28e-05/1.033, allocations: 85.34 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007913/1.034, allocations: 11.92 kB / 1.016 GB, free: 3.738 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: 3 ($whenCondition1,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.025e-05/1.034, allocations: 99.25 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.816e-05/1.034, allocations: 15.12 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.034, allocations: 4.062 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/1.034, allocations: 11.44 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/1.034, allocations: 11.42 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/1.034, allocations: 74.89 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/1.034, allocations: 0.6915 MB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.034, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)