Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.1/package.mo): time 2.388/2.388, allocations: 248.6 MB / 255.9 MB, free: 340 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001746/0.001746, allocations: 182.3 kB / 315.1 MB, free: 7.746 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.3/2.3, allocations: 205.1 MB / 0.5658 GB, free: 25.45 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.001355/0.001355, allocations: 90.05 kB / 0.67 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3221/0.3235, allocations: 112.4 MB / 0.7797 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.8694, allocations: 106.2 MB / 0.8835 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/1.101, allocations: 130.7 MB / 1.011 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005058/1.101, allocations: 71.94 kB / 1.011 GB, free: 10.34 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.006994/1.108, allocations: 0.9731 MB / 1.012 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.19e-05/1.108, allocations: 8 kB / 1.012 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/1.109, allocations: 11.84 kB / 1.012 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/1.109, allocations: 163.1 kB / 1.012 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.109, allocations: 0 / 1.012 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/1.109, allocations: 8 kB / 1.012 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002064/1.109, allocations: 23.98 kB / 1.012 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/1.109, allocations: 45.69 kB / 1.012 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.109, allocations: 0 / 1.012 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/1.109, allocations: 3.906 kB / 1.012 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/1.11, allocations: 3.984 kB / 1.012 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009552/1.11, allocations: 265.3 kB / 1.013 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/1.111, allocations: 50.56 kB / 1.013 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.111, allocations: 16.89 kB / 1.013 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.111, allocations: 0 / 1.013 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/1.111, allocations: 30.56 kB / 1.013 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/1.111, allocations: 3.938 kB / 1.013 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4): time 0.0004031/1.111, allocations: 65.66 kB / 1.013 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.112, allocations: 59.41 kB / 1.013 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/1.112, allocations: 93 kB / 1.013 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/1.112, allocations: 25.7 kB / 1.013 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/1.112, allocations: 88.14 kB / 1.013 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/1.112, allocations: 15.73 kB / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/1.112, allocations: 0 / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.112, allocations: 318.8 kB / 1.013 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/1.112, allocations: 8 kB / 1.013 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/1.112, allocations: 8 kB / 1.013 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/1.112, allocations: 19.98 kB / 1.013 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.112, allocations: 0 / 1.013 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003606/1.113, allocations: 49.69 kB / 1.013 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/1.113, allocations: 11.91 kB / 1.013 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.113, allocations: 0 / 1.013 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.113, allocations: 256 / 1.013 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/1.113, allocations: 23.92 kB / 1.013 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.113, allocations: 4 kB / 1.013 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/1.114, allocations: 19.92 kB / 1.013 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/1.114, allocations: 0 / 1.013 GB, free: 7.75 MB / 0.6667 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 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.0001412/1.114, allocations: 101 kB / 1.014 GB, free: 7.645 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.951e-05/1.114, allocations: 7.906 kB / 1.014 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/1.114, allocations: 7.984 kB / 1.014 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.114, allocations: 0 / 1.014 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.114, allocations: 4 kB / 1.014 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.114, allocations: 0 / 1.014 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/1.115, allocations: 150.1 kB / 1.014 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.115, allocations: 4 kB / 1.014 GB, free: 7.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/1.115, allocations: 19.92 kB / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.115, allocations: 0 / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.115, allocations: 0 / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.115, allocations: 0 / 1.014 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.115, allocations: 7.984 kB / 1.014 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003174/1.115, allocations: 159.4 kB / 1.014 GB, free: 7.234 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004486/1.116, allocations: 0.5221 MB / 1.014 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/1.116, allocations: 85.14 kB / 1.014 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/1.116, allocations: 0 / 1.014 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/1.116, allocations: 19.89 kB / 1.015 GB, free: 6.574 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.116, allocations: 7.984 kB / 1.015 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.117, allocations: 0 / 1.015 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.339e-05/1.117, allocations: 83.28 kB / 1.015 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002132/1.119, allocations: 8 kB / 1.015 GB, free: 6.477 MB / 0.6667 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 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0003007/1.119, allocations: 113.3 kB / 1.015 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003497/1.12, allocations: 27.94 kB / 1.015 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.12, allocations: 0 / 1.015 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/1.12, allocations: 23.98 kB / 1.015 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/1.12, allocations: 4 kB / 1.015 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/1.121, allocations: 87.67 kB / 1.015 GB, free: 6.195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.121, allocations: 0.6954 MB / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of SimCode: time 1.563e-06/1.121, allocations: 7.938 kB / 1.016 GB, free: 5.469 MB / 0.6667 GB