Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 215.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003352/0.003352, allocations: 61.5 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4222, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.003235/0.4254, allocations: 1.392 MB / 1.328 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.4256, allocations: 40.34 kB / 1.328 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.4257, allocations: 8 kB / 1.328 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.4258, allocations: 7.938 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.426, allocations: 15.91 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.029e-06/0.426, allocations: 0 / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.4261, allocations: 19.92 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.4261, allocations: 288 / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.4262, allocations: 7.938 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.4262, allocations: 11.92 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4262, allocations: 3.938 kB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.4263, allocations: 12 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.4263, allocations: 0 / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.4264, allocations: 15.92 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.4264, allocations: 27.86 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4265, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4265, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.4265, allocations: 0 / 1.328 GB, free: 404 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000408/0.4269, allocations: 258.2 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4269, allocations: 12.03 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.448e-05/0.4269, allocations: 192 / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.427, allocations: 38.69 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.427, allocations: 8.938 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4272, allocations: 118.5 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4272, allocations: 4.312 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.4272, allocations: 4.375 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.4273, allocations: 41.94 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4273, allocations: 3.984 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.4274, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.4274, allocations: 7.984 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.4274, allocations: 8 kB / 1.329 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.4277, allocations: 212.1 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4278, allocations: 38.45 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.4278, allocations: 16.94 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4278, allocations: 4 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4279, allocations: 34.5 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.4279, allocations: 4 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0004827/0.4283, allocations: 199.5 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.4284, allocations: 51.41 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4285, allocations: 117.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4285, allocations: 25.7 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.4286, allocations: 88.12 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.4286, allocations: 15.91 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4286, allocations: 13.72 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4288, allocations: 330.8 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.4288, allocations: 4 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.969e-05/0.4289, allocations: 25.7 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.4289, allocations: 45.64 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4289, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001111/0.429, allocations: 69.56 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.4291, allocations: 8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4291, allocations: 4.031 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4291, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.4291, allocations: 8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4292, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.4292, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4292, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.958e-05/0.4293, allocations: 121.8 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.4293, allocations: 3.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.4295, allocations: 81.67 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4295, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4295, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4295, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.4299, allocations: 297.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4299, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.4299, allocations: 12 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4299, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4299, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4299, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4299, allocations: 12.56 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4301, allocations: 155.5 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.4302, allocations: 7.953 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4302, allocations: 7.984 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.4302, allocations: 0 / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.4303, allocations: 7.922 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.4303, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.89e-05/0.4304, allocations: 99.2 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4304, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004213/0.4308, allocations: 15.94 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008453/0.4316, allocations: 0.7293 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.4318, allocations: 31.92 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4318, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.4318, allocations: 15.98 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4322, allocations: 13.44 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.434, allocations: 1.29 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.4344, allocations: 0.6902 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.4346, allocations: 19.97 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.4346, allocations: 15.44 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4346, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.114163837977685] Failed to read output from testmodel.py, exit status != 0: 0.4676025320077315 0.494777486 0.064675088 Calling exit ...