Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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 3.932/3.932, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5437/4.476, allocations: 104.3 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/4.716, allocations: 98.74 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/4.98, allocations: 129.1 MB / 0.7544 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/4.98, allocations: 91.56 kB / 0.7545 GB, free: 8.414 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.03674/5.017, allocations: 6.926 MB / 0.7612 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/5.017, allocations: 8 kB / 0.7612 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/5.017, allocations: 47.44 kB / 0.7613 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/5.018, allocations: 323.5 kB / 0.7616 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/5.018, allocations: 12 kB / 0.7616 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/5.018, allocations: 20 kB / 0.7616 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008222/5.019, allocations: 217.5 kB / 0.7618 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007879/5.02, allocations: 308.6 kB / 0.7621 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/5.02, allocations: 3.938 kB / 0.7621 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/5.02, allocations: 0 / 0.7621 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/5.02, allocations: 12 kB / 0.7621 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/5.024, allocations: 1.381 MB / 0.7635 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/5.024, allocations: 237 kB / 0.7637 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/5.025, allocations: 165.3 kB / 0.7639 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/5.025, allocations: 4.234 kB / 0.7639 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/5.025, allocations: 34.73 kB / 0.7639 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 2.995e-06/5.025, allocations: 3.938 kB / 0.7639 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001988/5.027, allocations: 395 kB / 0.7643 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/5.027, allocations: 55.41 kB / 0.7644 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/5.028, allocations: 247.6 kB / 0.7646 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/5.028, allocations: 25.7 kB / 0.7646 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/5.028, allocations: 187.9 kB / 0.7648 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/5.028, allocations: 90.66 kB / 0.7649 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/5.028, allocations: 4 kB / 0.7649 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001759/5.028, allocations: 338.8 kB / 0.7652 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/5.029, allocations: 80.55 kB / 0.7653 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/5.029, allocations: 135.6 kB / 0.7654 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/5.029, allocations: 99.98 kB / 0.7655 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/5.029, allocations: 0 / 0.7655 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001989/5.031, allocations: 417.7 kB / 0.7659 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003086/5.032, allocations: 0.5295 MB / 0.7664 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/5.032, allocations: 7.984 kB / 0.7664 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/5.033, allocations: 179.7 kB / 0.7666 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/5.034, allocations: 39.97 kB / 0.7666 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/5.035, allocations: 0.8266 MB / 0.7674 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/5.036, allocations: 35.83 kB / 0.7675 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/5.036, allocations: 16 kB / 0.7675 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/5.036, allocations: 4 kB / 0.7675 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001819/5.038, allocations: 360.4 kB / 0.7678 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/5.038, allocations: 4 kB / 0.7678 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/5.039, allocations: 176.9 kB / 0.768 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/5.04, allocations: 39.88 kB / 0.7681 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/5.045, allocations: 2.239 MB / 0.7702 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/5.046, allocations: 20 kB / 0.7703 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/5.046, allocations: 11.98 kB / 0.7703 GB, free: 7.734 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/5.046, allocations: 112.8 kB / 0.7704 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/5.046, allocations: 35.69 kB / 0.7704 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/5.046, allocations: 43.86 kB / 0.7705 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/5.046, allocations: 4 kB / 0.7705 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/5.046, allocations: 0 / 0.7705 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/5.046, allocations: 0 / 0.7705 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/5.047, allocations: 358.2 kB / 0.7708 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.047, allocations: 3.906 kB / 0.7708 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/5.047, allocations: 27.98 kB / 0.7708 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/5.049, allocations: 175 kB / 0.771 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/5.049, allocations: 0 / 0.771 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005753/5.055, allocations: 2.232 MB / 0.7732 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/5.055, allocations: 0 / 0.7732 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001931/5.057, allocations: 485.2 kB / 0.7736 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002186/5.059, allocations: 0.8537 MB / 0.7745 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/5.059, allocations: 124.6 kB / 0.7746 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/5.059, allocations: 0 / 0.7746 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000463/5.06, allocations: 19.89 kB / 0.7746 GB, free: 3.062 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/5.06, allocations: 15.98 kB / 0.7746 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/5.06, allocations: 4 kB / 0.7746 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003552/5.06, allocations: 199.1 kB / 0.7748 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004946/5.065, allocations: 195.4 kB / 0.775 GB, free: 2.66 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/5.066, allocations: 111.2 kB / 0.7751 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001981/5.068, allocations: 0.5013 MB / 0.7756 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/5.068, allocations: 0 / 0.7756 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007858/5.068, allocations: 261.4 kB / 0.7759 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/5.069, allocations: 65.59 kB / 0.7759 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/5.072, allocations: 486.8 kB / 0.7764 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/5.073, allocations: 0.823 MB / 0.7772 GB, free: 360 kB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/5.073, allocations: 0 / 0.7772 GB, free: 360 kB / 0.6511 GB