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.CheckWindDirection.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.CheckWindDirection,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",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.107/4.107, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5529/4.66, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/4.897, allocations: 98.73 MB / 0.6283 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/5.184, allocations: 127.2 MB / 0.7525 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/5.185, allocations: 83.59 kB / 0.7525 GB, free: 10.32 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.05218/5.237, allocations: 9.941 MB / 0.7623 GB, free: 320 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/5.237, allocations: 11.98 kB / 0.7623 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/5.237, allocations: 23.72 kB / 0.7623 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/5.238, allocations: 266.5 kB / 0.7625 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/5.238, allocations: 12 kB / 0.7626 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/5.238, allocations: 11.98 kB / 0.7626 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/5.24, allocations: 0.7685 MB / 0.7633 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/5.24, allocations: 199.7 kB / 0.7635 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/5.24, allocations: 0 / 0.7635 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/5.24, allocations: 7.969 kB / 0.7635 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/5.24, allocations: 4 kB / 0.7635 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/5.242, allocations: 0.5595 MB / 0.7641 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008454/5.243, allocations: 304.2 kB / 0.7644 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/5.243, allocations: 105.3 kB / 0.7645 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/5.244, allocations: 461.7 kB / 0.7649 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/5.244, allocations: 163.5 kB / 0.765 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.975e-06/5.245, allocations: 0 / 0.765 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.001119/5.246, allocations: 309.1 kB / 0.7653 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/5.246, allocations: 106.8 kB / 0.7654 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/5.246, allocations: 262.9 kB / 0.7657 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/5.246, allocations: 29.69 kB / 0.7657 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/5.246, allocations: 92.78 kB / 0.7658 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/5.247, allocations: 114.3 kB / 0.7659 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/5.247, allocations: 0 / 0.7659 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001562/5.247, allocations: 334.8 kB / 0.7662 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/5.247, allocations: 95.97 kB / 0.7663 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/5.247, allocations: 126.5 kB / 0.7665 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/5.248, allocations: 148.6 kB / 0.7666 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/5.248, allocations: 0 / 0.7666 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001084/5.249, allocations: 352.6 kB / 0.7669 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/5.249, allocations: 8 kB / 0.7669 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/5.249, allocations: 0 / 0.7669 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/5.249, allocations: 0 / 0.7669 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/5.25, allocations: 63.91 kB / 0.767 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/5.25, allocations: 0 / 0.767 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/5.25, allocations: 31.73 kB / 0.767 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/5.25, allocations: 19.94 kB / 0.767 GB, free: 11.1 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 (37): * Single equations (assignments): 36 * 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.0001846/5.251, allocations: 108.9 kB / 0.7672 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/5.251, allocations: 27.7 kB / 0.7672 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/5.253, allocations: 448.4 kB / 0.7676 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/5.253, allocations: 8 kB / 0.7676 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/5.253, allocations: 0 / 0.7676 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/5.253, allocations: 3.984 kB / 0.7676 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/5.254, allocations: 301.8 kB / 0.7679 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/5.254, allocations: 0 / 0.7679 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/5.254, allocations: 67.81 kB / 0.768 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/5.254, allocations: 4 kB / 0.768 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/5.254, allocations: 7.984 kB / 0.768 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/5.254, allocations: 0 / 0.768 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/5.255, allocations: 4 kB / 0.768 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001413/5.256, allocations: 353.7 kB / 0.7683 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001543/5.257, allocations: 0.7136 MB / 0.769 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/5.258, allocations: 160.6 kB / 0.7692 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/5.258, allocations: 7.984 kB / 0.7692 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/5.258, allocations: 8 kB / 0.7692 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/5.258, allocations: 31.89 kB / 0.7692 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/5.258, allocations: 12 kB / 0.7692 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004121/5.259, allocations: 205.8 kB / 0.7694 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002342/5.261, allocations: 87.92 kB / 0.7695 GB, free: 8.469 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 (35): * Single equations (assignments): 34 * 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.001107/5.262, allocations: 308 kB / 0.7698 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009955/5.263, allocations: 281.4 kB / 0.7701 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.263, allocations: 0 / 0.7701 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/5.264, allocations: 131.8 kB / 0.7702 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/5.264, allocations: 23.84 kB / 0.7702 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/5.271, allocations: 415.9 kB / 0.7706 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008905/5.272, allocations: 0.8248 MB / 0.7714 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/5.272, allocations: 0 / 0.7714 GB, free: 6.48 MB / 0.6511 GB