Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.1-maint.8.0.x/package.mo): time 1.294/1.294, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009154/0.0009151, allocations: 179.5 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9969/0.9969, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007654/0.0007655, allocations: 99.58 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1789/0.1797, allocations: 121.5 MB / 0.8512 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.5871, allocations: 115.3 MB / 0.9638 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.7148, allocations: 136.8 MB / 1.097 GB, free: 3.355 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.7151, allocations: 62.17 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.002794/0.7179, allocations: 1.214 MB / 1.099 GB, free: 2.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7179, allocations: 15.88 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.718, allocations: 15.8 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7181, allocations: 174.9 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7182, allocations: 3.281 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.7182, allocations: 8 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.937e-05/0.7183, allocations: 31.94 kB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.7184, allocations: 86.61 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.7184, allocations: 0 / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7184, allocations: 4 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7184, allocations: 1.562 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.7189, allocations: 418.6 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.7189, allocations: 41.16 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.719, allocations: 15.86 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.719, allocations: 5.297 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.719, allocations: 31.66 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.944e-06/0.719, allocations: 1.453 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.7192, allocations: 50.33 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.7192, allocations: 77.7 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.7193, allocations: 123.4 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.7193, allocations: 25.7 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.7194, allocations: 108 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.353e-06/0.7194, allocations: 7.906 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.7194, allocations: 0 / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.7195, allocations: 322.1 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.7195, allocations: 8.719 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.7195, allocations: 18.25 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.7195, allocations: 16.56 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7196, allocations: 1 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.622e-05/0.7196, allocations: 54.12 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.7196, allocations: 4 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7197, allocations: 0.6875 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.7197, allocations: 4.219 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.7197, allocations: 4.719 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7197, allocations: 5.688 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.7198, allocations: 16.42 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.7198, allocations: 5.25 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 5.231e-05/0.7199, allocations: 101 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.7199, allocations: 8.406 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.7199, allocations: 13.25 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7199, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.72, allocations: 1.25 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.72, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.7203, allocations: 452.4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7203, allocations: 0.5938 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.7203, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7203, allocations: 1.5 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.7203, allocations: 4.594 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.7203, allocations: 5.984 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7204, allocations: 1.75 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.261e-05/0.7204, allocations: 85.62 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001628/0.7206, allocations: 472.7 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.7207, allocations: 89.02 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7207, allocations: 3.984 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.7207, allocations: 4 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.7207, allocations: 3.906 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.7207, allocations: 4.031 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.969e-05/0.7208, allocations: 101 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007021/0.7215, allocations: 11.91 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.286e-05/0.7216, allocations: 103 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.7217, allocations: 19.94 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.7217, allocations: 0 / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.7217, allocations: 11.75 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.124e-05/0.7218, allocations: 8.812 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.722, allocations: 109.1 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.7222, allocations: 0.7113 MB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7222, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)