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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01654/0.01654, allocations: 111.8 kB / 15.06 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00179/0.00179, allocations: 183.7 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.252/2.252, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.293/2.293, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004924, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6773, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.9662, allocations: 126.5 MB / 0.8069 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.9665, allocations: 75.95 kB / 0.807 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.9817, allocations: 3.226 MB / 0.8102 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9818, allocations: 4 kB / 0.8102 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.255e-05/0.9818, allocations: 8 kB / 0.8102 GB, free: 12.48 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.0008183/0.9826, allocations: 466.6 kB / 0.8106 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.9827, allocations: 8.031 kB / 0.8106 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.9828, allocations: 46.48 kB / 0.8107 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.575e-05/0.9828, allocations: 19.77 kB / 0.8107 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.9832, allocations: 227.7 kB / 0.8109 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.9833, allocations: 12 kB / 0.8109 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.9833, allocations: 4 kB / 0.8109 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.9837, allocations: 105.6 kB / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.9838, allocations: 0 / 0.811 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.9838, allocations: 7.938 kB / 0.811 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.9838, allocations: 4 kB / 0.811 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.9842, allocations: 79.94 kB / 0.8111 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.9852, allocations: 388.4 kB / 0.8115 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.9854, allocations: 58.48 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.9855, allocations: 4.062 kB / 0.8115 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.9858, allocations: 97.08 kB / 0.8116 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.887e-06/0.9858, allocations: 8 kB / 0.8116 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007634/0.9866, allocations: 137.4 kB / 0.8118 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.9867, allocations: 81.11 kB / 0.8119 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.9871, allocations: 232 kB / 0.8121 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.9871, allocations: 25.7 kB / 0.8121 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.9872, allocations: 128 kB / 0.8122 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.9873, allocations: 11.81 kB / 0.8122 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.9873, allocations: 0 / 0.8122 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9875, allocations: 330.8 kB / 0.8125 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.9877, allocations: 31.97 kB / 0.8126 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.9879, allocations: 59.41 kB / 0.8126 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.9881, allocations: 35.91 kB / 0.8127 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9882, allocations: 0 / 0.8127 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005182/0.9887, allocations: 125.4 kB / 0.8128 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9887, allocations: 4 kB / 0.8128 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9887, allocations: 0 / 0.8128 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9888, allocations: 0 / 0.8128 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.989, allocations: 20.08 kB / 0.8128 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.989, allocations: 4 kB / 0.8128 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.9892, allocations: 15.92 kB / 0.8128 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.9892, allocations: 4 kB / 0.8128 GB, free: 9.496 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 () * Number of clocked 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.0001754/0.9894, allocations: 125.8 kB / 0.813 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.9894, allocations: 23.77 kB / 0.813 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.9895, allocations: 17.25 kB / 0.813 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.9895, allocations: 3.984 kB / 0.813 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9895, allocations: 0 / 0.813 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9896, allocations: 0 / 0.813 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.9898, allocations: 213.6 kB / 0.8132 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9898, allocations: 0 / 0.8132 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.99, allocations: 19.92 kB / 0.8132 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.99, allocations: 0 / 0.8132 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.99, allocations: 11.94 kB / 0.8132 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.99, allocations: 0 / 0.8132 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.99, allocations: 0 / 0.8132 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.9906, allocations: 140.8 kB / 0.8134 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.9907, allocations: 96.91 kB / 0.8135 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.9908, allocations: 0 / 0.8135 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.9909, allocations: 23.94 kB / 0.8135 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.991, allocations: 3.938 kB / 0.8135 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.991, allocations: 11.98 kB / 0.8135 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000276/0.9913, allocations: 188.4 kB / 0.8137 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9913, allocations: 0 / 0.8137 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003107/0.9917, allocations: 20 kB / 0.8137 GB, free: 8.523 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 () * Number of clocked 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.0009875/0.9927, allocations: 0.7155 MB / 0.8144 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004766/0.9932, allocations: 67.89 kB / 0.8145 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.9932, allocations: 0 / 0.8145 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.9934, allocations: 40.16 kB / 0.8145 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.9938, allocations: 37.77 kB / 0.8145 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.9962, allocations: 1.23 MB / 0.8157 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.9966, allocations: 0.7236 MB / 0.8164 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000136/0.9968, allocations: 20.52 kB / 0.8165 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.9969, allocations: 43.42 kB / 0.8165 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.9969, allocations: 0 / 0.8165 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/1.023, allocations: 3.239 MB / 0.8197 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/1.023, allocations: 189.3 kB / 0.8198 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.987, allocations: 7.938 kB / 0.8199 GB, free: 2.18 MB / 0.6355 GB