Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.475/4.475, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5902/5.065, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/5.321, allocations: 98.72 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3279/5.649, allocations: 151.8 MB / 0.7766 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/5.649, allocations: 91.59 kB / 0.7766 GB, free: 1.688 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.5294/6.179, allocations: 17.9 MB / 0.7941 GB, free: 59.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/6.179, allocations: 9.562 kB / 0.7941 GB, free: 59.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/6.181, allocations: 117.5 kB / 0.7942 GB, free: 59.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/6.182, allocations: 321.4 kB / 0.7946 GB, free: 59.01 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.026e-05/6.182, allocations: 45.67 kB / 0.7946 GB, free: 58.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/6.182, allocations: 25.53 kB / 0.7946 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/6.183, allocations: 321.2 kB / 0.7949 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/6.184, allocations: 449.7 kB / 0.7954 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/6.185, allocations: 0 / 0.7954 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/6.185, allocations: 0 / 0.7954 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/6.185, allocations: 23.92 kB / 0.7954 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/6.188, allocations: 2.167 MB / 0.7975 GB, free: 57.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/6.189, allocations: 215.9 kB / 0.7977 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/6.19, allocations: 144.2 kB / 0.7978 GB, free: 57.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/6.19, allocations: 0 / 0.7978 GB, free: 57.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/6.19, allocations: 37.94 kB / 0.7979 GB, free: 57.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/6.19, allocations: 0 / 0.7979 GB, free: 57.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.00108/6.191, allocations: 255.3 kB / 0.7981 GB, free: 57.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/6.191, allocations: 52.5 kB / 0.7982 GB, free: 57.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/6.191, allocations: 174.8 kB / 0.7983 GB, free: 57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/6.191, allocations: 25.7 kB / 0.7984 GB, free: 56.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/6.191, allocations: 208.4 kB / 0.7986 GB, free: 56.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/6.191, allocations: 62.73 kB / 0.7986 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/6.191, allocations: 0 / 0.7986 GB, free: 56.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/6.191, allocations: 332.6 kB / 0.7989 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/6.192, allocations: 73.38 kB / 0.799 GB, free: 56.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/6.192, allocations: 157.8 kB / 0.7992 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/6.192, allocations: 91.75 kB / 0.7992 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/6.192, allocations: 3.906 kB / 0.7992 GB, free: 56.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001089/6.193, allocations: 318.2 kB / 0.7995 GB, free: 56.26 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/6.194, allocations: 0.9719 MB / 0.8005 GB, free: 55.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/6.194, allocations: 0 / 0.8005 GB, free: 55.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007108/6.194, allocations: 103.2 kB / 0.8006 GB, free: 55.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/6.195, allocations: 52.62 kB / 0.8006 GB, free: 55.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/6.198, allocations: 1.952 MB / 0.8026 GB, free: 53.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/6.198, allocations: 31.2 kB / 0.8026 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/6.198, allocations: 15.91 kB / 0.8026 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/6.198, allocations: 3.906 kB / 0.8026 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008791/6.199, allocations: 238.6 kB / 0.8028 GB, free: 53.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/6.199, allocations: 4.219 kB / 0.8028 GB, free: 53.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/6.2, allocations: 73.92 kB / 0.8029 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/6.2, allocations: 60.73 kB / 0.803 GB, free: 53.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/6.203, allocations: 1.402 MB / 0.8043 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/6.203, allocations: 34.42 kB / 0.8044 GB, free: 52.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/6.203, allocations: 7.781 kB / 0.8044 GB, free: 52.2 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/6.203, allocations: 112.8 kB / 0.8045 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/6.204, allocations: 23.53 kB / 0.8045 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/6.204, allocations: 26.92 kB / 0.8045 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/6.204, allocations: 3.906 kB / 0.8045 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/6.204, allocations: 0 / 0.8045 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/6.204, allocations: 0 / 0.8045 GB, free: 52.07 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/6.205, allocations: 0.7227 MB / 0.8052 GB, free: 51.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/6.206, allocations: 0 / 0.8052 GB, free: 51.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/6.206, allocations: 38.22 kB / 0.8053 GB, free: 51.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006457/6.207, allocations: 105.3 kB / 0.8054 GB, free: 51.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/6.207, allocations: 0 / 0.8054 GB, free: 51.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/6.21, allocations: 2.645 MB / 0.808 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/6.21, allocations: 8.062 kB / 0.808 GB, free: 49.25 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001013/6.211, allocations: 393.5 kB / 0.8083 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009657/6.212, allocations: 0.7593 MB / 0.8091 GB, free: 48.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/6.212, allocations: 115.8 kB / 0.8092 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/6.212, allocations: 3.609 kB / 0.8092 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/6.213, allocations: 7.906 kB / 0.8092 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/6.213, allocations: 26.16 kB / 0.8092 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/6.213, allocations: 7.891 kB / 0.8092 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001612/6.213, allocations: 132.8 kB / 0.8094 GB, free: 48.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002506/6.216, allocations: 160.3 kB / 0.8095 GB, free: 48.22 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/6.216, allocations: 106.6 kB / 0.8096 GB, free: 48.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002773/6.219, allocations: 0.575 MB / 0.8102 GB, free: 47.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/6.219, allocations: 0 / 0.8102 GB, free: 47.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/6.22, allocations: 324.2 kB / 0.8105 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/6.22, allocations: 41.7 kB / 0.8105 GB, free: 47.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/6.222, allocations: 413.8 kB / 0.8109 GB, free: 47.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/6.222, allocations: 0.8356 MB / 0.8117 GB, free: 46.82 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/6.222, allocations: 0 / 0.8117 GB, free: 46.82 MB / 0.6511 GB