Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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.34/4.34, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5339/4.874, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/5.093, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/5.398, allocations: 124.7 MB / 0.75 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/5.399, allocations: 83.58 kB / 0.7501 GB, free: 12.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.006493/5.405, allocations: 1.119 MB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/5.406, allocations: 8 kB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/5.406, allocations: 11.89 kB / 0.7512 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/5.406, allocations: 167 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/5.406, allocations: 3.938 kB / 0.7514 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/5.406, allocations: 4 kB / 0.7514 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001243/5.406, allocations: 12 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/5.406, allocations: 45.69 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/5.406, allocations: 4 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/5.406, allocations: 0 / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/5.406, allocations: 4 kB / 0.7514 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/5.407, allocations: 253.4 kB / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/5.407, allocations: 34.52 kB / 0.7517 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.357e-05/5.407, allocations: 12.86 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/5.407, allocations: 3.984 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/5.408, allocations: 59.48 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 3.066e-06/5.408, allocations: 0 / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002777/5.408, allocations: 65.59 kB / 0.7519 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/5.408, allocations: 51.41 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/5.408, allocations: 113 kB / 0.752 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/5.408, allocations: 29.7 kB / 0.752 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/5.408, allocations: 88.05 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/5.408, allocations: 7.844 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/5.408, allocations: 4 kB / 0.7521 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001941/5.409, allocations: 318.8 kB / 0.7524 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/5.409, allocations: 8 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/5.409, allocations: 44.23 kB / 0.7525 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.437e-05/5.409, allocations: 15.98 kB / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/5.409, allocations: 0 / 0.7525 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002606/5.409, allocations: 69.47 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/5.409, allocations: 4.156 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/5.409, allocations: 8 kB / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/5.409, allocations: 0 / 0.7526 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/5.41, allocations: 8 kB / 0.7526 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/5.41, allocations: 7.984 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/5.41, allocations: 7.906 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/5.41, allocations: 4 kB / 0.7526 GB, free: 10.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/5.41, allocations: 109 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/5.41, allocations: 7.906 kB / 0.7527 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/5.41, allocations: 4.062 kB / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/5.41, allocations: 0 / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/5.41, allocations: 3.984 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/5.41, allocations: 7.938 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/5.411, allocations: 279.1 kB / 0.753 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/5.411, allocations: 3.984 kB / 0.753 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/5.411, allocations: 12 kB / 0.753 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/5.411, allocations: 0 / 0.753 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/5.411, allocations: 0 / 0.753 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/5.411, allocations: 4 kB / 0.753 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.411, allocations: 0 / 0.753 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002548/5.411, allocations: 151.8 kB / 0.7532 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004479/5.412, allocations: 0.539 MB / 0.7537 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/5.412, allocations: 77.11 kB / 0.7538 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/5.412, allocations: 0 / 0.7538 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/5.412, allocations: 11.94 kB / 0.7538 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/5.412, allocations: 7.891 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/5.412, allocations: 4 kB / 0.7538 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.185e-05/5.412, allocations: 87.28 kB / 0.7539 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002059/5.414, allocations: 15.98 kB / 0.7539 GB, free: 8.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0002017/5.415, allocations: 99.19 kB / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002276/5.415, allocations: 32.72 kB / 0.754 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/5.415, allocations: 0 / 0.754 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/5.415, allocations: 23.88 kB / 0.754 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/5.415, allocations: 9.188 kB / 0.754 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/5.416, allocations: 84.14 kB / 0.7541 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/5.416, allocations: 0.6958 MB / 0.7548 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of SimCode: time 1.433e-06/5.416, allocations: 0 / 0.7548 GB, free: 7.664 MB / 0.6355 GB