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.RealToInteger.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.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.282/1.282, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.0009463/0.0009463, allocations: 184.5 kB / 316 MB, free: 3.449 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.139/1.139, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.0008323/0.0008324, allocations: 95.31 kB / 0.671 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3219/0.3227, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.4769, allocations: 106.3 MB / 0.8847 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.9208, allocations: 131.7 MB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.9211, allocations: 67.47 kB / 1.013 GB, free: 6.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002228/0.9233, allocations: 0.7589 MB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9234, allocations: 11.98 kB / 1.014 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.9234, allocations: 4 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.9236, allocations: 166.9 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.9236, allocations: 0 / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.9236, allocations: 4 kB / 1.014 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.865e-05/0.9237, allocations: 7.125 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.9238, allocations: 41.38 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9238, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.9238, allocations: 3.578 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.9238, allocations: 4 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.9241, allocations: 236 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.743e-05/0.9242, allocations: 26.39 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.9242, allocations: 12.86 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.9243, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.9243, allocations: 34.56 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9243, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.9245, allocations: 49.36 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.9245, allocations: 55.34 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.9246, allocations: 100.6 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9246, allocations: 25.7 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.9247, allocations: 84.12 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.9247, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.9247, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9249, allocations: 326.3 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.9249, allocations: 0 / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.9249, allocations: 7.688 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.118e-05/0.925, allocations: 4 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.925, allocations: 0 / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.663e-05/0.925, allocations: 45 kB / 1.015 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9251, allocations: 4 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.9251, allocations: 3.938 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9251, allocations: 4.094 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.9252, allocations: 19.3 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.9252, allocations: 0 / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.9253, allocations: 15.89 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.9253, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.043e-05/0.9254, allocations: 108.9 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.9254, allocations: 0 / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.9255, allocations: 11.27 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.9255, allocations: 0 / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9255, allocations: 3.906 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9255, allocations: 0 / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.9256, allocations: 139.5 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.9256, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.78e-05/0.9257, allocations: 15.98 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.9257, allocations: 4 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.9257, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9257, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9257, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001036/0.9258, allocations: 142.9 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002085/0.9261, allocations: 0.5144 MB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.9261, allocations: 77.11 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.9261, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-05/0.9262, allocations: 10.56 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.9263, allocations: 16.14 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.9263, allocations: 3.906 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.914e-05/0.9263, allocations: 79.28 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000757/0.9271, allocations: 11.98 kB / 1.016 GB, free: 3.344 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001139/0.9272, allocations: 107 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.9273, allocations: 15.12 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9273, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.9273, allocations: 23.75 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.9275, allocations: 3.984 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.9277, allocations: 62.91 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.928, allocations: 0.688 MB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.928, allocations: 0 / 1.017 GB, free: 2.398 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)