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.01533/0.01534, allocations: 107.2 kB / 15.06 MB, free: 6.027 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.001835/0.001835, allocations: 181 kB / 15.95 MB, free: 5.953 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.088/2.088, allocations: 194.6 MB / 211.3 MB, free: 11.1 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.342/2.342, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0005205/0.0005208, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6636, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002192/0.6658, allocations: 1.307 MB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.667, allocations: 0.5412 MB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.6671, allocations: 1.469 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.6673, allocations: 19.77 kB / 0.6853 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.6676, allocations: 60.39 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.6678, allocations: 57 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.668, allocations: 88.72 kB / 0.6855 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.6682, allocations: 33.25 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.6683, allocations: 47.83 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.6684, allocations: 46.22 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.6685, allocations: 3 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.6686, allocations: 10.27 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.6687, allocations: 33.39 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.6687, allocations: 47.2 kB / 0.6857 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.6689, allocations: 100.5 kB / 0.6858 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.6689, allocations: 3.938 kB / 0.6858 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6689, allocations: 0 / 0.6858 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.669, allocations: 0 / 0.6858 GB, free: 15.16 MB / 0.5261 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.000679/0.6696, allocations: 444.5 kB / 0.6862 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.6697, allocations: 10.36 kB / 0.6862 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.6698, allocations: 38.17 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.6698, allocations: 20.72 kB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.6701, allocations: 233.8 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6702, allocations: 6.969 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.6702, allocations: 7.156 kB / 0.6865 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.6706, allocations: 113.6 kB / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6707, allocations: 0 / 0.6866 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.6707, allocations: 6.078 kB / 0.6866 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6707, allocations: 1.281 kB / 0.6866 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004516/0.6712, allocations: 84.22 kB / 0.6867 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007867/0.672, allocations: 404.5 kB / 0.6871 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.6722, allocations: 49.92 kB / 0.6871 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.6722, allocations: 4.797 kB / 0.6871 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.6726, allocations: 106 kB / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.6726, allocations: 0 / 0.6872 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006907/0.6733, allocations: 144.3 kB / 0.6874 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6734, allocations: 82.58 kB / 0.6874 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.6738, allocations: 253 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.6738, allocations: 27.97 kB / 0.6877 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.6739, allocations: 126.2 kB / 0.6878 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.6739, allocations: 9.906 kB / 0.6878 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.6739, allocations: 0 / 0.6878 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.674, allocations: 328.5 kB / 0.6882 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.6742, allocations: 35.06 kB / 0.6882 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.6744, allocations: 52.78 kB / 0.6882 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.6747, allocations: 32.89 kB / 0.6883 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6747, allocations: 5.547 kB / 0.6883 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000465/0.6751, allocations: 118.7 kB / 0.6884 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6752, allocations: 4.75 kB / 0.6884 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6752, allocations: 1.188 kB / 0.6884 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6752, allocations: 1.719 kB / 0.6884 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.6754, allocations: 19.72 kB / 0.6884 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.6754, allocations: 5.062 kB / 0.6884 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.6756, allocations: 22.88 kB / 0.6884 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.6756, allocations: 1.625 kB / 0.6884 GB, free: 13.04 MB / 0.5261 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.0001146/0.6757, allocations: 124.1 kB / 0.6886 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.6758, allocations: 19.94 kB / 0.6886 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.6758, allocations: 22.31 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.6758, allocations: 0.875 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6759, allocations: 4 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6759, allocations: 1.719 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.6761, allocations: 215.7 kB / 0.6888 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6761, allocations: 2.156 kB / 0.6888 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.6762, allocations: 18.03 kB / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6763, allocations: 0 / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6763, allocations: 2 kB / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6763, allocations: 0 / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6763, allocations: 4.547 kB / 0.6888 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.6768, allocations: 142.2 kB / 0.689 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.6768, allocations: 101.2 kB / 0.6891 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6769, allocations: 6.219 kB / 0.6891 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.6771, allocations: 12.88 kB / 0.6891 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.6771, allocations: 8.141 kB / 0.6891 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.6772, allocations: 10.7 kB / 0.6891 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002322/0.6774, allocations: 183.9 kB / 0.6893 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.6774, allocations: 1.188 kB / 0.6893 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003148/0.6777, allocations: 17.88 kB / 0.6893 GB, free: 12.37 MB / 0.5261 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.0008443/0.6786, allocations: 0.6973 MB / 0.69 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.6791, allocations: 71.41 kB / 0.69 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6791, allocations: 0 / 0.69 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.6793, allocations: 38.16 kB / 0.6901 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.6797, allocations: 46.78 kB / 0.6901 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.6819, allocations: 1.228 MB / 0.6913 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.6821, allocations: 0.7251 MB / 0.692 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.6823, allocations: 14.77 kB / 0.6921 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6824, allocations: 42.95 kB / 0.6921 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.6824, allocations: 0 / 0.6921 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.7111, allocations: 3.199 MB / 0.6952 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.7113, allocations: 189.4 kB / 0.6954 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.392, allocations: 0 / 0.6954 GB, free: 9.516 MB / 0.5261 GB