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.CheckCeilingHeight.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.CheckCeilingHeight,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckCeilingHeight",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.414/4.414, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5638/4.978, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/5.236, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2527/5.489, allocations: 126.4 MB / 0.7517 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004659/5.489, allocations: 91.56 kB / 0.7518 GB, free: 11.14 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.04416/5.533, allocations: 9.32 MB / 0.7609 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/5.533, allocations: 8 kB / 0.7609 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004944/5.534, allocations: 51.67 kB / 0.7609 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/5.534, allocations: 266.4 kB / 0.7612 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/5.534, allocations: 4 kB / 0.7612 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/5.535, allocations: 12 kB / 0.7612 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/5.536, allocations: 0.7686 MB / 0.762 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/5.537, allocations: 199.9 kB / 0.7622 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/5.537, allocations: 7.906 kB / 0.7622 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/5.537, allocations: 0 / 0.7622 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/5.537, allocations: 4 kB / 0.7622 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/5.538, allocations: 0.5478 MB / 0.7627 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/5.539, allocations: 308.1 kB / 0.763 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/5.539, allocations: 109.4 kB / 0.7631 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/5.54, allocations: 24.25 kB / 0.7631 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/5.54, allocations: 165.8 kB / 0.7633 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/5.54, allocations: 0 / 0.7633 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0009332/5.541, allocations: 297 kB / 0.7636 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/5.541, allocations: 106.8 kB / 0.7637 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/5.541, allocations: 258 kB / 0.7639 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/5.541, allocations: 25.7 kB / 0.7639 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/5.542, allocations: 96.78 kB / 0.764 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/5.542, allocations: 110.3 kB / 0.7641 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/5.542, allocations: 0 / 0.7641 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000148/5.542, allocations: 338.8 kB / 0.7645 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/5.542, allocations: 95.92 kB / 0.7646 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/5.543, allocations: 134.5 kB / 0.7647 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/5.543, allocations: 116.9 kB / 0.7648 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/5.543, allocations: 0 / 0.7648 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000945/5.544, allocations: 332.9 kB / 0.7651 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/5.544, allocations: 4 kB / 0.7651 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/5.544, allocations: 0 / 0.7651 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/5.544, allocations: 4 kB / 0.7651 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/5.545, allocations: 71.8 kB / 0.7652 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/5.545, allocations: 11.88 kB / 0.7652 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/5.545, allocations: 23.83 kB / 0.7652 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/5.545, allocations: 16 kB / 0.7652 GB, free: 13.12 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.0001293/5.545, allocations: 104.9 kB / 0.7653 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/5.545, allocations: 27.62 kB / 0.7654 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/5.547, allocations: 432.5 kB / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/5.547, allocations: 4 kB / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/5.547, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/5.547, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/5.547, allocations: 309.7 kB / 0.7661 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/5.547, allocations: 0 / 0.7661 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/5.548, allocations: 63.91 kB / 0.7661 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/5.548, allocations: 0 / 0.7661 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/5.548, allocations: 11.98 kB / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/5.548, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/5.548, allocations: 0 / 0.7661 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009282/5.549, allocations: 338.4 kB / 0.7665 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001049/5.55, allocations: 0.6976 MB / 0.7672 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/5.55, allocations: 156.7 kB / 0.7673 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/5.55, allocations: 0 / 0.7673 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/5.55, allocations: 15.98 kB / 0.7673 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/5.55, allocations: 23.91 kB / 0.7673 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/5.551, allocations: 15.98 kB / 0.7674 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003057/5.551, allocations: 200.7 kB / 0.7675 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001275/5.552, allocations: 63.94 kB / 0.7676 GB, free: 10.58 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.0007613/5.553, allocations: 279.3 kB / 0.7679 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007518/5.554, allocations: 281.5 kB / 0.7681 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/5.554, allocations: 0 / 0.7681 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/5.554, allocations: 135.8 kB / 0.7683 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/5.554, allocations: 20.59 kB / 0.7683 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/5.556, allocations: 400.9 kB / 0.7687 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/5.556, allocations: 0.8152 MB / 0.7695 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/5.556, allocations: 0 / 0.7695 GB, free: 8.641 MB / 0.6511 GB