Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",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.072/4.072, allocations: 433 MB / 440.3 MB, free: 4.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6232/4.695, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/4.965, allocations: 98.71 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/5.242, allocations: 125.7 MB / 0.751 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/5.243, allocations: 83.58 kB / 0.7511 GB, free: 11.84 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.02072/5.263, allocations: 3.005 MB / 0.754 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/5.264, allocations: 12 kB / 0.754 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/5.264, allocations: 7.906 kB / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/5.264, allocations: 178.8 kB / 0.7542 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/5.264, allocations: 0 / 0.7542 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/5.264, allocations: 4 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001638/5.264, allocations: 20 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/5.264, allocations: 57.67 kB / 0.7543 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/5.264, allocations: 3.906 kB / 0.7543 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/5.264, allocations: 0 / 0.7543 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/5.265, allocations: 4 kB / 0.7543 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/5.265, allocations: 285.3 kB / 0.7546 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/5.266, allocations: 42.52 kB / 0.7546 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/5.266, allocations: 21.67 kB / 0.7546 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/5.266, allocations: 4 kB / 0.7546 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/5.266, allocations: 67.39 kB / 0.7547 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.946e-06/5.266, allocations: 0 / 0.7547 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004562/5.266, allocations: 85.56 kB / 0.7548 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/5.267, allocations: 63.28 kB / 0.7548 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/5.267, allocations: 108.9 kB / 0.7549 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/5.267, allocations: 29.7 kB / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/5.267, allocations: 88.39 kB / 0.755 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/5.267, allocations: 15.81 kB / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/5.267, allocations: 0 / 0.7551 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001781/5.267, allocations: 322.7 kB / 0.7554 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/5.267, allocations: 19.94 kB / 0.7554 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/5.267, allocations: 42.56 kB / 0.7554 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/5.268, allocations: 20 kB / 0.7554 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/5.268, allocations: 0 / 0.7554 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004682/5.268, allocations: 89.52 kB / 0.7555 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/5.268, allocations: 4 kB / 0.7555 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/5.268, allocations: 0 / 0.7555 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/5.268, allocations: 4.062 kB / 0.7555 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/5.269, allocations: 15.98 kB / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/5.269, allocations: 0 / 0.7556 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/5.269, allocations: 15.94 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/5.269, allocations: 3.984 kB / 0.7556 GB, free: 7.004 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001486/5.269, allocations: 112.8 kB / 0.7557 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/5.269, allocations: 7.906 kB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.893e-05/5.269, allocations: 12.38 kB / 0.7557 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/5.269, allocations: 4 kB / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/5.269, allocations: 0 / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/5.269, allocations: 0 / 0.7557 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/5.27, allocations: 319 kB / 0.756 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/5.27, allocations: 3.984 kB / 0.756 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/5.27, allocations: 11.98 kB / 0.756 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/5.27, allocations: 3.938 kB / 0.756 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/5.27, allocations: 4 kB / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/5.27, allocations: 0 / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/5.27, allocations: 0 / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004055/5.271, allocations: 175.4 kB / 0.7562 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006587/5.271, allocations: 0.552 MB / 0.7567 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-05/5.271, allocations: 89 kB / 0.7568 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/5.271, allocations: 0 / 0.7568 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/5.272, allocations: 4 kB / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/5.272, allocations: 11.98 kB / 0.7568 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/5.272, allocations: 4 kB / 0.7568 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001043/5.272, allocations: 87.28 kB / 0.7569 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002454/5.274, allocations: 51.92 kB / 0.757 GB, free: 5.465 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007633/5.275, allocations: 180.8 kB / 0.7571 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003557/5.276, allocations: 51.92 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/5.276, allocations: 4 kB / 0.7572 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/5.276, allocations: 24 kB / 0.7572 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/5.276, allocations: 8.125 kB / 0.7572 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/5.277, allocations: 103.5 kB / 0.7573 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/5.278, allocations: 0.7121 MB / 0.758 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/5.278, allocations: 0 / 0.758 GB, free: 4.332 MB / 0.6355 GB