Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.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.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Files_Examples_JSONWriter",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.118/4.118, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.6051/4.723, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/4.994, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/5.269, allocations: 125.6 MB / 0.751 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/5.269, allocations: 83.59 kB / 0.7511 GB, free: 11.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01554/5.285, allocations: 3.357 MB / 0.7543 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/5.285, allocations: 8 kB / 0.7543 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/5.285, allocations: 19.8 kB / 0.7544 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/5.285, allocations: 235.6 kB / 0.7546 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/5.285, allocations: 0 / 0.7546 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/5.285, allocations: 4 kB / 0.7546 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001643/5.285, allocations: 31.98 kB / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/5.286, allocations: 81.67 kB / 0.7547 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/5.286, allocations: 0 / 0.7547 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/5.286, allocations: 0 / 0.7547 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/5.286, allocations: 0 / 0.7547 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/5.287, allocations: 365 kB / 0.755 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/5.287, allocations: 28.58 kB / 0.7551 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/5.287, allocations: 12.92 kB / 0.7551 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/5.287, allocations: 7.984 kB / 0.7551 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/5.287, allocations: 77.06 kB / 0.7552 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/5.287, allocations: 0 / 0.7552 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002479/5.287, allocations: 57.5 kB / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/5.287, allocations: 85.05 kB / 0.7553 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/5.288, allocations: 198.1 kB / 0.7555 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/5.288, allocations: 33.69 kB / 0.7555 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/5.288, allocations: 111.9 kB / 0.7556 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/5.288, allocations: 7.906 kB / 0.7556 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/5.288, allocations: 0 / 0.7556 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001606/5.288, allocations: 326.8 kB / 0.756 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/5.288, allocations: 8 kB / 0.756 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/5.288, allocations: 35.38 kB / 0.756 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/5.288, allocations: 15.97 kB / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.288, allocations: 0 / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001922/5.288, allocations: 65.44 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/5.289, allocations: 11.12 kB / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/5.289, allocations: 0 / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/5.289, allocations: 0 / 0.7561 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/5.289, allocations: 20.08 kB / 0.7561 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/5.289, allocations: 7.984 kB / 0.7561 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/5.289, allocations: 11.91 kB / 0.7561 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/5.289, allocations: 7.984 kB / 0.7561 GB, free: 6.465 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001186/5.289, allocations: 105 kB / 0.7562 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/5.289, allocations: 15.81 kB / 0.7562 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/5.289, allocations: 13.03 kB / 0.7563 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/5.289, allocations: 4 kB / 0.7563 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/5.289, allocations: 3.984 kB / 0.7563 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/5.289, allocations: 3.906 kB / 0.7563 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/5.29, allocations: 194.1 kB / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/5.29, allocations: 0 / 0.7564 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/5.29, allocations: 23.98 kB / 0.7565 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/5.29, allocations: 0 / 0.7565 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/5.29, allocations: 0 / 0.7565 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/5.29, allocations: 3.938 kB / 0.7565 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/5.29, allocations: 0 / 0.7565 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/5.29, allocations: 88.84 kB / 0.7566 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003133/5.291, allocations: 477.5 kB / 0.757 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/5.291, allocations: 96.92 kB / 0.7571 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/5.291, allocations: 0 / 0.7571 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/5.291, allocations: 23.89 kB / 0.7571 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/5.291, allocations: 3.984 kB / 0.7571 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/5.291, allocations: 4 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002988/5.291, allocations: 159.2 kB / 0.7573 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001159/5.293, allocations: 31.78 kB / 0.7573 GB, free: 5.133 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003439/5.293, allocations: 125.9 kB / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001548/5.293, allocations: 23.94 kB / 0.7575 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/5.293, allocations: 0 / 0.7575 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/5.293, allocations: 15.94 kB / 0.7575 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/5.294, allocations: 32.58 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/5.294, allocations: 191.2 kB / 0.7577 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/5.295, allocations: 0.7424 MB / 0.7584 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/5.295, allocations: 0 / 0.7584 GB, free: 3.949 MB / 0.6355 GB