Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.BooleanToReal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.211/2.211, allocations: 284.8 MB / 292.1 MB, free: 9.84 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.001583/0.001583, allocations: 186.6 kB / 360.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.1 MB / 0.6187 GB, free: 3.312 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001245, allocations: 83.34 kB / 0.7317 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5111/0.5124, allocations: 121.4 MB / 0.8502 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.7046, allocations: 115.2 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/1.287, allocations: 137.1 MB / 1.097 GB, free: 44.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.287, allocations: 63.58 kB / 1.097 GB, free: 44.22 MB / 0.7136 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.007953/1.295, allocations: 1.853 MB / 1.099 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.295, allocations: 7.562 kB / 1.099 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/1.295, allocations: 7.594 kB / 1.099 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/1.295, allocations: 162.8 kB / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.295, allocations: 0 / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/1.295, allocations: 6.688 kB / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.887e-05/1.295, allocations: 12.75 kB / 1.099 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.892e-05/1.296, allocations: 38.88 kB / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.296, allocations: 0 / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/1.296, allocations: 0 / 1.099 GB, free: 43.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/1.296, allocations: 4 kB / 1.099 GB, free: 43.53 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/1.296, allocations: 282.7 kB / 1.099 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/1.296, allocations: 21.58 kB / 1.099 GB, free: 43.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/1.296, allocations: 13.58 kB / 1.099 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/1.296, allocations: 0 / 1.099 GB, free: 43.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/1.296, allocations: 59.48 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.296, allocations: 7.219 kB / 1.099 GB, free: 43.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001641/1.296, allocations: 52.8 kB / 1.099 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/1.296, allocations: 51.41 kB / 1.099 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/1.297, allocations: 102.5 kB / 1.099 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/1.297, allocations: 26.27 kB / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/1.297, allocations: 90.58 kB / 1.099 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/1.297, allocations: 6.406 kB / 1.099 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/1.297, allocations: 11.61 kB / 1.099 GB, free: 42.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.217e-05/1.297, allocations: 310.8 kB / 1.1 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/1.297, allocations: 25.28 kB / 1.1 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/1.297, allocations: 53.67 kB / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/1.297, allocations: 42.36 kB / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.297, allocations: 7.906 kB / 1.1 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004287/1.298, allocations: 115 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.298, allocations: 3.875 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.298, allocations: 3.875 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.298, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/1.298, allocations: 3.875 kB / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.298, allocations: 0 / 1.1 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/1.298, allocations: 46.11 kB / 1.1 GB, free: 42.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/1.298, allocations: 3.875 kB / 1.1 GB, free: 42.5 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.741e-05/1.298, allocations: 111 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/1.298, allocations: 3.906 kB / 1.1 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/1.298, allocations: 11.38 kB / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.298, allocations: 0 / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.298, allocations: 0 / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.298, allocations: 3.75 kB / 1.1 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/1.298, allocations: 136.7 kB / 1.1 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.299, allocations: 3.938 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/1.299, allocations: 0 / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.299, allocations: 4 kB / 1.1 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/1.299, allocations: 11.39 kB / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.299, allocations: 0 / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.299, allocations: 0 / 1.1 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001072/1.299, allocations: 84.56 kB / 1.1 GB, free: 42.14 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001798/1.299, allocations: 466 kB / 1.101 GB, free: 57.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/1.299, allocations: 77.11 kB / 1.101 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/1.299, allocations: 0 / 1.101 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/1.299, allocations: 0 / 1.101 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/1.299, allocations: 3.781 kB / 1.101 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.299, allocations: 3.75 kB / 1.101 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.988e-05/1.299, allocations: 90.38 kB / 1.101 GB, free: 57.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001109/1.3, allocations: 26.72 kB / 1.101 GB, free: 57.52 MB / 0.7292 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.0001665/1.3, allocations: 112.8 kB / 1.101 GB, free: 57.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002208/1.301, allocations: 78.22 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.301, allocations: 3.938 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/1.301, allocations: 11.5 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/1.301, allocations: 3.906 kB / 1.101 GB, free: 57.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/1.301, allocations: 75.27 kB / 1.101 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/1.301, allocations: 0.6984 MB / 1.102 GB, free: 56.62 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/1.301, allocations: 4 kB / 1.102 GB, free: 56.62 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)