Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.944/3.944, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4777/4.422, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/4.642, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6093/5.251, allocations: 154 MB / 0.7787 GB, free: 61.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/5.251, allocations: 103.8 kB / 0.7788 GB, free: 61.68 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.07391/5.325, allocations: 19.32 MB / 0.7977 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/5.325, allocations: 11.62 kB / 0.7977 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/5.327, allocations: 109.5 kB / 0.7978 GB, free: 59.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/5.328, allocations: 282.2 kB / 0.7981 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/5.328, allocations: 7.812 kB / 0.7981 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/5.328, allocations: 15.72 kB / 0.7981 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007017/5.328, allocations: 274 kB / 0.7984 GB, free: 59.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/5.329, allocations: 397.9 kB / 0.7987 GB, free: 59.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/5.329, allocations: 0 / 0.7987 GB, free: 59.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/5.329, allocations: 0 / 0.7987 GB, free: 59.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-05/5.329, allocations: 34 kB / 0.7988 GB, free: 59.42 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/5.333, allocations: 2.151 MB / 0.8009 GB, free: 57.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004894/5.333, allocations: 245.3 kB / 0.8011 GB, free: 57.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/5.334, allocations: 167.4 kB / 0.8013 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/5.334, allocations: 7.938 kB / 0.8013 GB, free: 57.81 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/5.334, allocations: 30.75 kB / 0.8013 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 3.106e-06/5.334, allocations: 0 / 0.8013 GB, free: 57.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002/5.336, allocations: 0.7998 MB / 0.8021 GB, free: 57.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/5.336, allocations: 59.25 kB / 0.8021 GB, free: 57.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/5.336, allocations: 200.6 kB / 0.8023 GB, free: 57.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/5.336, allocations: 29.7 kB / 0.8024 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/5.336, allocations: 177.4 kB / 0.8025 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/5.336, allocations: 84.66 kB / 0.8026 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/5.336, allocations: 0 / 0.8026 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/5.336, allocations: 337.6 kB / 0.8029 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/5.337, allocations: 141.9 kB / 0.8031 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/5.337, allocations: 226 kB / 0.8033 GB, free: 56.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005546/5.338, allocations: 191.5 kB / 0.8035 GB, free: 56.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/5.338, allocations: 0 / 0.8035 GB, free: 56.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0017/5.34, allocations: 0.5503 MB / 0.804 GB, free: 56.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/5.34, allocations: 7.969 kB / 0.804 GB, free: 56.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/5.34, allocations: 3.906 kB / 0.804 GB, free: 56.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/5.341, allocations: 186.6 kB / 0.8042 GB, free: 56.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/5.341, allocations: 59.45 kB / 0.8042 GB, free: 56.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/5.347, allocations: 2.146 MB / 0.8063 GB, free: 55.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/5.348, allocations: 3.969 kB / 0.8063 GB, free: 55.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/5.348, allocations: 18.86 kB / 0.8064 GB, free: 55.32 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/5.348, allocations: 111.8 kB / 0.8065 GB, free: 55.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/5.348, allocations: 23.44 kB / 0.8065 GB, free: 55.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/5.35, allocations: 346 kB / 0.8068 GB, free: 55.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/5.35, allocations: 7.812 kB / 0.8068 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/5.35, allocations: 0 / 0.8068 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/5.35, allocations: 0 / 0.8068 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/5.352, allocations: 0.7509 MB / 0.8076 GB, free: 54.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/5.352, allocations: 0 / 0.8076 GB, free: 54.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/5.354, allocations: 75.22 kB / 0.8076 GB, free: 54.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/5.354, allocations: 0 / 0.8076 GB, free: 54.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/5.354, allocations: 11.3 kB / 0.8076 GB, free: 54.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/5.354, allocations: 4.078 kB / 0.8076 GB, free: 54.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/5.354, allocations: 3.938 kB / 0.8077 GB, free: 54.85 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001693/5.355, allocations: 0.6274 MB / 0.8083 GB, free: 54.65 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00196/5.357, allocations: 1.201 MB / 0.8094 GB, free: 54.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/5.358, allocations: 128.5 kB / 0.8096 GB, free: 53.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/5.358, allocations: 3.906 kB / 0.8096 GB, free: 53.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/5.358, allocations: 19.11 kB / 0.8096 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/5.358, allocations: 14.61 kB / 0.8096 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/5.358, allocations: 7.344 kB / 0.8096 GB, free: 53.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001908/5.359, allocations: 155.6 kB / 0.8097 GB, free: 53.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001417/5.36, allocations: 88.8 kB / 0.8098 GB, free: 53.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0002138/5.36, allocations: 117.7 kB / 0.8099 GB, free: 53.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001232/5.361, allocations: 490.4 kB / 0.8104 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/5.361, allocations: 0 / 0.8104 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/5.362, allocations: 148.2 kB / 0.8106 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/5.362, allocations: 46.33 kB / 0.8106 GB, free: 53.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/5.365, allocations: 0.6987 MB / 0.8113 GB, free: 53.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/5.365, allocations: 0.8424 MB / 0.8121 GB, free: 52.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/5.365, allocations: 0 / 0.8121 GB, free: 52.61 MB / 0.6511 GB