Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001503/0.001503, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001817/0.001817, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002623/0.002623, allocations: 286.2 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.272/1.272, allocations: 180.6 MB / 0.5377 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002934/0.002934, allocations: 112.4 kB / 0.7403 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2104, allocations: 95.38 MB / 0.8334 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002891/0.2133, allocations: 1.378 MB / 0.8347 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.2135, allocations: 31.89 kB / 0.8348 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.2135, allocations: 3.938 kB / 0.8348 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.2137, allocations: 11.92 kB / 0.8348 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2138, allocations: 19.92 kB / 0.8348 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-06/0.2138, allocations: 0 / 0.8348 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.2139, allocations: 11.92 kB / 0.8348 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.214, allocations: 4 kB / 0.8348 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.214, allocations: 7.938 kB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.214, allocations: 11.92 kB / 0.8348 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.2141, allocations: 0 / 0.8348 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.2141, allocations: 16 kB / 0.8349 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.2142, allocations: 4 kB / 0.8349 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.2142, allocations: 7.922 kB / 0.8349 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2143, allocations: 24.14 kB / 0.8349 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2143, allocations: 4 kB / 0.8349 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2143, allocations: 0 / 0.8349 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2143, allocations: 0 / 0.8349 GB, free: 6.789 MB / 0.5762 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.0003685/0.2147, allocations: 258.2 kB / 0.8351 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2147, allocations: 9.344 kB / 0.8352 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.197e-05/0.2148, allocations: 8.172 kB / 0.8352 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.2148, allocations: 42.69 kB / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.2148, allocations: 0.9375 kB / 0.8352 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.215, allocations: 134.3 kB / 0.8353 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.215, allocations: 384 / 0.8353 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.215, allocations: 384 / 0.8353 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2152, allocations: 46 kB / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2152, allocations: 0 / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2152, allocations: 0 / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2152, allocations: 0 / 0.8354 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.2152, allocations: 8 kB / 0.8354 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.2155, allocations: 216.1 kB / 0.8356 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2156, allocations: 42.45 kB / 0.8356 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.2156, allocations: 16.94 kB / 0.8356 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2157, allocations: 0 / 0.8356 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2157, allocations: 30.56 kB / 0.8357 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.2157, allocations: 0 / 0.8357 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.2162, allocations: 203.4 kB / 0.8359 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2163, allocations: 51.41 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2164, allocations: 117.8 kB / 0.836 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2164, allocations: 29.7 kB / 0.8361 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.2165, allocations: 88.12 kB / 0.8361 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.2165, allocations: 19.84 kB / 0.8362 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2165, allocations: 17.72 kB / 0.8362 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2167, allocations: 318.8 kB / 0.8365 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.2167, allocations: 12 kB / 0.8365 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.2167, allocations: 25.7 kB / 0.8365 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.2168, allocations: 37.7 kB / 0.8366 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2168, allocations: 0 / 0.8366 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001132/0.2169, allocations: 73.56 kB / 0.8366 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2169, allocations: 4 kB / 0.8366 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2169, allocations: 8.031 kB / 0.8366 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.217, allocations: 0 / 0.8366 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.217, allocations: 8 kB / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.217, allocations: 0 / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.2171, allocations: 0 / 0.8366 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2171, allocations: 4 kB / 0.8366 GB, free: 4.77 MB / 0.5762 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 0.000121/0.2172, allocations: 126.3 kB / 0.8368 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.2172, allocations: 3.953 kB / 0.8368 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.2174, allocations: 78.06 kB / 0.8368 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2174, allocations: 0 / 0.8368 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2174, allocations: 4 kB / 0.8368 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2174, allocations: 3.984 kB / 0.8369 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.2178, allocations: 289.6 kB / 0.8371 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2178, allocations: 3.984 kB / 0.8371 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.2178, allocations: 8.312 kB / 0.8371 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2178, allocations: 0 / 0.8371 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2178, allocations: 4 kB / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2178, allocations: 0 / 0.8371 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2178, allocations: 3.938 kB / 0.8371 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.218, allocations: 167.4 kB / 0.8373 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.218, allocations: 11.94 kB / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.218, allocations: 0 / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.2181, allocations: 0 / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.2181, allocations: 7.938 kB / 0.8373 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.2181, allocations: 0 / 0.8373 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.2182, allocations: 95.27 kB / 0.8374 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2182, allocations: 0 / 0.8374 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002357/0.2184, allocations: 11.94 kB / 0.8374 GB, free: 3.879 MB / 0.5762 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.0007171/0.2191, allocations: 0.7295 MB / 0.8381 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.2192, allocations: 31.98 kB / 0.8382 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2193, allocations: 0 / 0.8382 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.2193, allocations: 19.98 kB / 0.8382 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2195, allocations: 7.875 kB / 0.8382 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.2209, allocations: 1.299 MB / 0.8395 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.2209, allocations: 75.39 kB / 0.8395 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2211, allocations: 19.92 kB / 0.8396 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.2211, allocations: 19.42 kB / 0.8396 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.2211, allocations: 0 / 0.8396 GB, free: 1.562 MB / 0.5762 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 660] [Calling sys.exit(0), Time elapsed: 4.352140617906116] Failed to read output from testmodel.py, exit status != 0: 0.2457030019722879 0.264166411 0.046551005 Calling exit ...