Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.299/4.299, allocations: 433 MB / 440.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5748/4.874, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/5.144, allocations: 98.73 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/5.384, allocations: 123.5 MB / 0.7489 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/5.385, allocations: 67.61 kB / 0.7489 GB, free: 14.06 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.005765/5.39, allocations: 1.206 MB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/5.391, allocations: 11.94 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/5.391, allocations: 15.89 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/5.391, allocations: 178.9 kB / 0.7503 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/5.391, allocations: 7.984 kB / 0.7503 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/5.391, allocations: 7.906 kB / 0.7503 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000246/5.391, allocations: 35.94 kB / 0.7504 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/5.392, allocations: 82.36 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/5.392, allocations: 0 / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/5.392, allocations: 0 / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/5.392, allocations: 0 / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/5.393, allocations: 417.1 kB / 0.7508 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/5.393, allocations: 45.28 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/5.393, allocations: 13.84 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/5.394, allocations: 3.984 kB / 0.7509 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.141e-05/5.394, allocations: 38.47 kB / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.039e-06/5.394, allocations: 0 / 0.7509 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004436/5.394, allocations: 49.55 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/5.394, allocations: 77.11 kB / 0.751 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/5.395, allocations: 121.2 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/5.395, allocations: 29.7 kB / 0.7512 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/5.395, allocations: 104.1 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/5.395, allocations: 7.906 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/5.395, allocations: 0 / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002079/5.395, allocations: 318.8 kB / 0.7516 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/5.395, allocations: 12.06 kB / 0.7516 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/5.395, allocations: 17.94 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/5.395, allocations: 15.84 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.395, allocations: 3.938 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002246/5.396, allocations: 49.69 kB / 0.7517 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/5.396, allocations: 8 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/5.396, allocations: 3.906 kB / 0.7517 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/5.396, allocations: 4.062 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/5.396, allocations: 4 kB / 0.7517 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/5.396, allocations: 4 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.185e-05/5.396, allocations: 3.984 kB / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/5.396, allocations: 0 / 0.7517 GB, free: 10.96 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001823/5.396, allocations: 112.9 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/5.396, allocations: 7.906 kB / 0.7518 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/5.397, allocations: 7.594 kB / 0.7518 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/5.397, allocations: 3.906 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/5.397, allocations: 4 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/5.397, allocations: 4 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/5.398, allocations: 455.2 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/5.398, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/5.398, allocations: 4 kB / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/5.398, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/5.398, allocations: 0 / 0.7523 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/5.398, allocations: 8.047 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/5.398, allocations: 0 / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002112/5.398, allocations: 88.34 kB / 0.7524 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004172/5.399, allocations: 475.9 kB / 0.7528 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/5.399, allocations: 89.02 kB / 0.7529 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/5.399, allocations: 3.984 kB / 0.7529 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/5.399, allocations: 0 / 0.7529 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/5.399, allocations: 0 / 0.7529 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/5.399, allocations: 4 kB / 0.7529 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001571/5.399, allocations: 102.6 kB / 0.753 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002359/5.402, allocations: 15.89 kB / 0.753 GB, free: 9.473 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002539/5.402, allocations: 99.25 kB / 0.7531 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001698/5.402, allocations: 16 kB / 0.7532 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/5.402, allocations: 7.938 kB / 0.7532 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.269e-05/5.402, allocations: 4 kB / 0.7532 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/5.402, allocations: 4.625 kB / 0.7532 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/5.403, allocations: 120.2 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/5.404, allocations: 0.7075 MB / 0.754 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/5.404, allocations: 0 / 0.754 GB, free: 8.457 MB / 0.6355 GB