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.CheckWindSpeed.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.CheckWindSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",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.285/4.285, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.542/4.827, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/5.083, allocations: 98.72 MB / 0.6283 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/5.374, allocations: 126.4 MB / 0.7517 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/5.374, allocations: 87.58 kB / 0.7518 GB, free: 11.12 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.05908/5.433, allocations: 9.318 MB / 0.7609 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/5.433, allocations: 8 kB / 0.7609 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/5.434, allocations: 47.67 kB / 0.7609 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/5.435, allocations: 270.4 kB / 0.7612 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/5.435, allocations: 4 kB / 0.7612 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/5.435, allocations: 15.98 kB / 0.7612 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002645/5.438, allocations: 0.7686 MB / 0.762 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/5.438, allocations: 199.9 kB / 0.7622 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/5.438, allocations: 3.906 kB / 0.7622 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/5.438, allocations: 0 / 0.7622 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/5.439, allocations: 4 kB / 0.7622 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/5.441, allocations: 0.5557 MB / 0.7627 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/5.442, allocations: 304.2 kB / 0.763 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/5.442, allocations: 105.4 kB / 0.7631 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/5.443, allocations: 28.09 kB / 0.7631 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/5.443, allocations: 169.8 kB / 0.7633 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 5.079e-06/5.443, allocations: 4 kB / 0.7633 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.00146/5.445, allocations: 297 kB / 0.7636 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/5.445, allocations: 106.8 kB / 0.7637 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/5.446, allocations: 254 kB / 0.7639 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/5.446, allocations: 25.7 kB / 0.7639 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/5.446, allocations: 92.78 kB / 0.764 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/5.446, allocations: 114.3 kB / 0.7641 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/5.446, allocations: 0 / 0.7641 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002013/5.446, allocations: 334.8 kB / 0.7645 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/5.447, allocations: 95.98 kB / 0.7645 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/5.447, allocations: 134.5 kB / 0.7647 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/5.448, allocations: 128.7 kB / 0.7648 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/5.448, allocations: 0 / 0.7648 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001472/5.449, allocations: 325 kB / 0.7651 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/5.449, allocations: 7.984 kB / 0.7651 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/5.449, allocations: 0 / 0.7651 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.887e-05/5.45, allocations: 4 kB / 0.7651 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/5.45, allocations: 71.84 kB / 0.7652 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/5.45, allocations: 7.938 kB / 0.7652 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/5.451, allocations: 19.83 kB / 0.7652 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/5.451, allocations: 15.94 kB / 0.7652 GB, free: 13.09 MB / 0.6511 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.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0002183/5.451, allocations: 108.9 kB / 0.7653 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/5.451, allocations: 27.62 kB / 0.7654 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/5.454, allocations: 428.6 kB / 0.7658 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/5.454, allocations: 4 kB / 0.7658 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/5.454, allocations: 3.938 kB / 0.7658 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/5.454, allocations: 3.984 kB / 0.7658 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007898/5.455, allocations: 309.7 kB / 0.7661 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.455, allocations: 0 / 0.7661 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/5.455, allocations: 59.97 kB / 0.7661 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/5.455, allocations: 4 kB / 0.7661 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/5.455, allocations: 4 kB / 0.7661 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/5.455, allocations: 3.938 kB / 0.7661 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/5.455, allocations: 3.984 kB / 0.7661 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001366/5.457, allocations: 338.4 kB / 0.7665 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00149/5.458, allocations: 0.7015 MB / 0.7672 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/5.459, allocations: 156.7 kB / 0.7673 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/5.459, allocations: 0 / 0.7673 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/5.459, allocations: 11.98 kB / 0.7673 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/5.459, allocations: 23.97 kB / 0.7673 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-05/5.46, allocations: 16 kB / 0.7674 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004339/5.46, allocations: 200.7 kB / 0.7675 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002238/5.462, allocations: 71.86 kB / 0.7676 GB, free: 10.54 MB / 0.6511 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001065/5.463, allocations: 285.6 kB / 0.7679 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001063/5.464, allocations: 277.5 kB / 0.7682 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.465, allocations: 0 / 0.7682 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/5.465, allocations: 135.9 kB / 0.7683 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/5.466, allocations: 15.27 kB / 0.7683 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/5.468, allocations: 408.9 kB / 0.7687 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/5.469, allocations: 0.8152 MB / 0.7695 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of SimCode: time 2.104e-06/5.469, allocations: 0 / 0.7695 GB, free: 8.598 MB / 0.6511 GB