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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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"}) Notification: Performance of loadModel(Buildings): time 4.64/4.64, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 4.463e-05/4.484e-05, allocations: 3.031 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.5647, allocations: 126.4 MB / 0.7581 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.5651, allocations: 79.95 kB / 0.7582 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0154/0.5805, allocations: 3.224 MB / 0.7614 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5806, allocations: 0 / 0.7614 GB, free: 52 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.5806, allocations: 8 kB / 0.7614 GB, free: 44 kB / 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.0008012/0.5815, allocations: 446 kB / 0.7618 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.5815, allocations: 8.031 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.364e-05/0.5816, allocations: 38.56 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.5817, allocations: 19.77 kB / 0.7619 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.5821, allocations: 219.8 kB / 0.7621 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.5821, allocations: 8 kB / 0.7621 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.5822, allocations: 4 kB / 0.7621 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.5825, allocations: 93.55 kB / 0.7622 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5825, allocations: 0 / 0.7622 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5825, allocations: 4 kB / 0.7622 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5825, allocations: 0 / 0.7622 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.5827, allocations: 35.98 kB / 0.7622 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.5837, allocations: 392.4 kB / 0.7626 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.5839, allocations: 30.52 kB / 0.7626 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.5839, allocations: 12.91 kB / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.584, allocations: 0 / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.5842, allocations: 97.41 kB / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.5842, allocations: 0 / 0.7627 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002566/0.5845, allocations: 57.5 kB / 0.7628 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.5846, allocations: 81.11 kB / 0.7628 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.585, allocations: 221 kB / 0.7631 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.585, allocations: 25.7 kB / 0.7631 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5851, allocations: 136 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.5852, allocations: 7.906 kB / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.5852, allocations: 0 / 0.7632 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.5854, allocations: 330.8 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.5855, allocations: 7.984 kB / 0.7635 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.5856, allocations: 35.38 kB / 0.7636 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.418e-05/0.5856, allocations: 8 kB / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5857, allocations: 32 / 0.7636 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002065/0.5859, allocations: 81.39 kB / 0.7637 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5859, allocations: 4 kB / 0.7637 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5859, allocations: 4 kB / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.586, allocations: 0 / 0.7637 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.5862, allocations: 15.98 kB / 0.7637 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5862, allocations: 3.984 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.5864, allocations: 20 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.5864, allocations: 3.984 kB / 0.7637 GB, free: 13.39 MB / 0.6511 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.000102/0.5865, allocations: 108.9 kB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.5866, allocations: 19.77 kB / 0.7638 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.135e-05/0.5867, allocations: 17.25 kB / 0.7638 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5867, allocations: 3.984 kB / 0.7638 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5867, allocations: 4 kB / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5867, allocations: 0 / 0.7639 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.587, allocations: 213.6 kB / 0.7641 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.587, allocations: 3.938 kB / 0.7641 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.5872, allocations: 15.98 kB / 0.7641 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5872, allocations: 3.953 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.5872, allocations: 7.984 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5872, allocations: 3.938 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5872, allocations: 0 / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.5875, allocations: 96.94 kB / 0.7642 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5876, allocations: 104.8 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5877, allocations: 3.953 kB / 0.7643 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5879, allocations: 11.98 kB / 0.7643 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.5879, allocations: 4 kB / 0.7643 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.588, allocations: 11.98 kB / 0.7643 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002866/0.5883, allocations: 173.4 kB / 0.7645 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.9e-07/0.5883, allocations: 7.938 kB / 0.7645 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003108/0.5886, allocations: 20 kB / 0.7645 GB, free: 12.48 MB / 0.6511 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.0008025/0.5894, allocations: 0.6705 MB / 0.7652 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.5896, allocations: 27.94 kB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5897, allocations: 0 / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.501e-05/0.5897, allocations: 8 kB / 0.7652 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.5901, allocations: 40.34 kB / 0.7652 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.591, allocations: 235.3 kB / 0.7655 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.5915, allocations: 0.7277 MB / 0.7662 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.5916, allocations: 20.53 kB / 0.7662 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5918, allocations: 39.42 kB / 0.7662 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.572e-06/0.5918, allocations: 0 / 0.7662 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.6186, allocations: 3.241 MB / 0.7694 GB, free: 7.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/0.619, allocations: 155.6 kB / 0.7695 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/3.441, allocations: 0 / 0.7695 GB, free: 7.25 MB / 0.6511 GB