Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertRadiation",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 loadModel(Buildings): time 4.444/4.444, allocations: 433 MB / 440.3 MB, free: 24.7 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2694/4.713, allocations: 104.4 MB / 0.5319 GB, free: 4.457 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/5.282, allocations: 98.69 MB / 0.6283 GB, free: 0.6406 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.257/5.539, allocations: 126.3 MB / 0.7516 GB, free: 2.82 MB / 0.6121 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/5.539, allocations: 83.94 kB / 0.7517 GB, free: 2.738 MB / 0.6121 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.06493/5.604, allocations: 9.24 MB / 0.7607 GB, free: 9.441 MB / 0.6277 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/5.604, allocations: 12 kB / 0.7607 GB, free: 9.43 MB / 0.6277 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/5.605, allocations: 23.72 kB / 0.7608 GB, free: 9.406 MB / 0.6277 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/5.605, allocations: 266.5 kB / 0.761 GB, free: 9.105 MB / 0.6277 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/5.605, allocations: 8 kB / 0.761 GB, free: 9.098 MB / 0.6277 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/5.605, allocations: 15.91 kB / 0.761 GB, free: 9.082 MB / 0.6277 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001718/5.607, allocations: 0.7647 MB / 0.7618 GB, free: 8.316 MB / 0.6277 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/5.608, allocations: 211.6 kB / 0.762 GB, free: 8.094 MB / 0.6277 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/5.608, allocations: 0 / 0.762 GB, free: 8.094 MB / 0.6277 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/5.608, allocations: 0 / 0.762 GB, free: 8.094 MB / 0.6277 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/5.608, allocations: 4 kB / 0.762 GB, free: 8.09 MB / 0.6277 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/5.61, allocations: 0.5593 MB / 0.7625 GB, free: 7.492 MB / 0.6277 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000613/5.61, allocations: 224.3 kB / 0.7628 GB, free: 7.266 MB / 0.6277 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/5.611, allocations: 97.38 kB / 0.7628 GB, free: 7.168 MB / 0.6277 GB Notification: Performance of preOpt evalFunc (simulation): time 7.418e-05/5.611, allocations: 19.97 kB / 0.7629 GB, free: 7.148 MB / 0.6277 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004005/5.611, allocations: 165.3 kB / 0.763 GB, free: 6.973 MB / 0.6277 GB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/5.611, allocations: 0 / 0.763 GB, free: 6.973 MB / 0.6277 GB Notification: Performance of matching and sorting (n=33): time 0.0009302/5.612, allocations: 287.1 kB / 0.7633 GB, free: 6.688 MB / 0.6277 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/5.612, allocations: 110.8 kB / 0.7634 GB, free: 6.555 MB / 0.6277 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/5.613, allocations: 254 kB / 0.7636 GB, free: 6.297 MB / 0.6277 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/5.613, allocations: 29.7 kB / 0.7637 GB, free: 6.262 MB / 0.6277 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/5.613, allocations: 104.7 kB / 0.7638 GB, free: 6.156 MB / 0.6277 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/5.613, allocations: 102.5 kB / 0.7639 GB, free: 6.055 MB / 0.6277 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/5.613, allocations: 0 / 0.7639 GB, free: 6.055 MB / 0.6277 GB Notification: Performance of setup shared object (initialization): time 0.0001424/5.613, allocations: 338.7 kB / 0.7642 GB, free: 5.715 MB / 0.6277 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/5.613, allocations: 91.97 kB / 0.7643 GB, free: 5.625 MB / 0.6277 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/5.614, allocations: 126.4 kB / 0.7644 GB, free: 5.492 MB / 0.6277 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/5.614, allocations: 115.9 kB / 0.7645 GB, free: 5.379 MB / 0.6277 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/5.614, allocations: 4.031 kB / 0.7645 GB, free: 5.375 MB / 0.6277 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009675/5.615, allocations: 321.5 kB / 0.7648 GB, free: 5.055 MB / 0.6277 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/5.615, allocations: 11.94 kB / 0.7648 GB, free: 5.043 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/5.615, allocations: 0 / 0.7648 GB, free: 5.043 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/5.615, allocations: 0 / 0.7648 GB, free: 5.043 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/5.616, allocations: 55.97 kB / 0.7649 GB, free: 4.988 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/5.616, allocations: 3.938 kB / 0.7649 GB, free: 4.984 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/5.616, allocations: 31.67 kB / 0.7649 GB, free: 4.953 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/5.616, allocations: 15.94 kB / 0.7649 GB, free: 4.938 MB / 0.6277 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timCon.tNext,timCon.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 0.0001352/5.616, allocations: 109 kB / 0.765 GB, free: 4.824 MB / 0.6277 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/5.616, allocations: 23.72 kB / 0.7651 GB, free: 4.801 MB / 0.6277 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/5.618, allocations: 412.3 kB / 0.7655 GB, free: 4.391 MB / 0.6277 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/5.618, allocations: 4 kB / 0.7655 GB, free: 4.387 MB / 0.6277 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/5.618, allocations: 0 / 0.7655 GB, free: 4.387 MB / 0.6277 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/5.618, allocations: 3.984 kB / 0.7655 GB, free: 4.383 MB / 0.6277 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/5.619, allocations: 297.8 kB / 0.7657 GB, free: 4.055 MB / 0.6277 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/5.619, allocations: 0 / 0.7657 GB, free: 4.055 MB / 0.6277 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/5.619, allocations: 63.91 kB / 0.7658 GB, free: 3.992 MB / 0.6277 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/5.619, allocations: 0 / 0.7658 GB, free: 3.992 MB / 0.6277 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/5.619, allocations: 15.91 kB / 0.7658 GB, free: 3.977 MB / 0.6277 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/5.619, allocations: 7.984 kB / 0.7658 GB, free: 3.969 MB / 0.6277 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.619, allocations: 0 / 0.7658 GB, free: 3.969 MB / 0.6277 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008977/5.62, allocations: 314.2 kB / 0.7661 GB, free: 3.645 MB / 0.6277 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001025/5.621, allocations: 0.7013 MB / 0.7668 GB, free: 2.922 MB / 0.6277 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/5.621, allocations: 156.7 kB / 0.767 GB, free: 2.746 MB / 0.6277 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/5.622, allocations: 0 / 0.767 GB, free: 2.746 MB / 0.6277 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/5.622, allocations: 11.98 kB / 0.767 GB, free: 2.734 MB / 0.6277 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.519e-05/5.622, allocations: 23.91 kB / 0.767 GB, free: 2.711 MB / 0.6277 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/5.622, allocations: 12 kB / 0.767 GB, free: 2.699 MB / 0.6277 GB Notification: Performance of sort global known variables: time 0.0003832/5.622, allocations: 204.6 kB / 0.7672 GB, free: 2.5 MB / 0.6277 GB Notification: Performance of remove unused functions: time 0.001323/5.624, allocations: 68 kB / 0.7673 GB, free: 2.434 MB / 0.6277 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,timCon.tNext) * Number of discrete states: 1 (timCon.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0008104/5.625, allocations: 281.2 kB / 0.7675 GB, free: 2.184 MB / 0.6277 GB Notification: Performance of simCode: created initialization part: time 0.0007807/5.625, allocations: 269.5 kB / 0.7678 GB, free: 1.914 MB / 0.6277 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/5.625, allocations: 0 / 0.7678 GB, free: 1.914 MB / 0.6277 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/5.626, allocations: 131.8 kB / 0.7679 GB, free: 1.785 MB / 0.6277 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/5.626, allocations: 16.31 kB / 0.7679 GB, free: 1.77 MB / 0.6277 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/5.628, allocations: 401.3 kB / 0.7683 GB, free: 1.355 MB / 0.6277 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006917/5.629, allocations: 0.8113 MB / 0.7691 GB, free: 0.5156 MB / 0.6277 GB Notification: Performance of SimCode: time 1.283e-06/5.629, allocations: 0 / 0.7691 GB, free: 0.5156 MB / 0.6277 GB