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.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.077/4.077, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5065/4.584, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/4.796, allocations: 98.73 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6391/5.436, allocations: 167.6 MB / 0.792 GB, free: 63.71 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/5.436, allocations: 100.6 kB / 0.7921 GB, free: 63.71 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.1163/5.552, allocations: 28.77 MB / 0.8202 GB, free: 60.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/5.552, allocations: 7.594 kB / 0.8202 GB, free: 60.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/5.557, allocations: 435.6 kB / 0.8206 GB, free: 60.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/5.559, allocations: 474.4 kB / 0.821 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/5.559, allocations: 11.69 kB / 0.8211 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/5.559, allocations: 19.62 kB / 0.8211 GB, free: 59.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001323/5.56, allocations: 490.9 kB / 0.8215 GB, free: 59.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/5.561, allocations: 0.5594 MB / 0.8221 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/5.561, allocations: 3.906 kB / 0.8221 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/5.562, allocations: 0 / 0.8221 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/5.562, allocations: 24.17 kB / 0.8221 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/5.569, allocations: 2.753 MB / 0.8248 GB, free: 58.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/5.57, allocations: 328.1 kB / 0.8251 GB, free: 58.13 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/5.57, allocations: 169.5 kB / 0.8253 GB, free: 58.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/5.57, allocations: 86.7 kB / 0.8254 GB, free: 58.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/5.57, allocations: 34.19 kB / 0.8254 GB, free: 57.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/5.57, allocations: 0 / 0.8254 GB, free: 57.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.007929/5.578, allocations: 1.484 MB / 0.8268 GB, free: 57.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/5.578, allocations: 77.11 kB / 0.8269 GB, free: 57.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/5.579, allocations: 336.3 kB / 0.8272 GB, free: 57.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-05/5.579, allocations: 26.31 kB / 0.8273 GB, free: 57.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/5.579, allocations: 199.8 kB / 0.8275 GB, free: 57.45 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/5.579, allocations: 84.69 kB / 0.8275 GB, free: 57.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/5.58, allocations: 0 / 0.8275 GB, free: 57.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000101/5.58, allocations: 350.3 kB / 0.8279 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/5.58, allocations: 246.8 kB / 0.8281 GB, free: 57.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/5.581, allocations: 326.9 kB / 0.8284 GB, free: 56.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/5.582, allocations: 308.8 kB / 0.8287 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/5.582, allocations: 0 / 0.8287 GB, free: 56.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005975/5.588, allocations: 1.01 MB / 0.8297 GB, free: 56.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002097/5.588, allocations: 0.7975 MB / 0.8305 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/5.588, allocations: 3.906 kB / 0.8305 GB, free: 56.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/5.592, allocations: 411 kB / 0.8309 GB, free: 56.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/5.594, allocations: 118.5 kB / 0.831 GB, free: 56.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/5.603, allocations: 2.945 MB / 0.8339 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/5.605, allocations: 81.11 kB / 0.8339 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/5.605, allocations: 18.62 kB / 0.834 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/5.605, allocations: 3.906 kB / 0.834 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/5.608, allocations: 474.6 kB / 0.8344 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/5.608, allocations: 3.906 kB / 0.8344 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/5.608, allocations: 8.156 kB / 0.8344 GB, free: 54.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/5.61, allocations: 138.5 kB / 0.8346 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/5.61, allocations: 8.484 kB / 0.8346 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/5.611, allocations: 73.8 kB / 0.8346 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/5.611, allocations: 13.91 kB / 0.8346 GB, free: 54.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/5.611, allocations: 114.1 kB / 0.8348 GB, free: 54.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/5.612, allocations: 35.09 kB / 0.8348 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005761/5.617, allocations: 1.068 MB / 0.8358 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/5.617, allocations: 0 / 0.8358 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/5.617, allocations: 8.703 kB / 0.8358 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/5.617, allocations: 0.7969 kB / 0.8358 GB, free: 54.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006879/5.624, allocations: 1.676 MB / 0.8375 GB, free: 53.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/5.624, allocations: 3.938 kB / 0.8375 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008228/5.625, allocations: 76.97 kB / 0.8376 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004723/5.63, allocations: 0.5486 MB / 0.8381 GB, free: 53.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/5.63, allocations: 5.969 kB / 0.8381 GB, free: 53.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008228/5.638, allocations: 4.05 MB / 0.8421 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/5.638, allocations: 4.484 kB / 0.8421 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005751/5.644, allocations: 1.107 MB / 0.8431 GB, free: 50.94 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005437/5.65, allocations: 1.498 MB / 0.8446 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/5.65, allocations: 170.8 kB / 0.8448 GB, free: 50.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/5.65, allocations: 3.938 kB / 0.8448 GB, free: 50.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/5.652, allocations: 82.64 kB / 0.8448 GB, free: 50.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/5.652, allocations: 15.73 kB / 0.8449 GB, free: 50.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/5.652, allocations: 15.42 kB / 0.8449 GB, free: 50.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004388/5.652, allocations: 266.6 kB / 0.8451 GB, free: 49.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002935/5.655, allocations: 199.5 kB / 0.8453 GB, free: 49.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004114/5.656, allocations: 169.3 kB / 0.8455 GB, free: 49.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002801/5.658, allocations: 0.9751 MB / 0.8464 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/5.659, allocations: 3.938 kB / 0.8464 GB, free: 49.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/5.66, allocations: 0.5307 MB / 0.847 GB, free: 49.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/5.661, allocations: 97.36 kB / 0.847 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/5.664, allocations: 0.7593 MB / 0.8478 GB, free: 48.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007628/5.664, allocations: 0.9585 MB / 0.8487 GB, free: 48.19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/5.664, allocations: 0 / 0.8487 GB, free: 48.19 MB / 0.6511 GB